Authored by whb

peizhi

... ... @@ -5,7 +5,7 @@ define('APPLICATION_PATH', dirname(__DIR__));
defined('Q_APPLICATION_ENV') || define('Q_APPLICATION_ENV', (ini_get('qin.environment') ? ini_get('qin.environment') : 'release'));
###########################################################################################
set_include_path(implode(PATH_SEPARATOR, array(get_include_path(), ini_get('qin.path'))));
require_once dirname(__FILE__).'/QF1.1/Framework/Q/Autoloader.php';
require_once dirname(__FILE__).'/../../QF1.1/Framework/Q/Autoloader.php';
if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') {
$_beginTime = microtime(true);
$shprof = new Q_Debug_Xhprof_Stat();
... ...
... ... @@ -11,7 +11,7 @@ if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') {
$shprof->setUrl('http://xhprof.debug.yohomarket.com')->start();
echo (microtime(true) - $_beginTime) . ' Start Xhprof Time.<br />';
}
require_once dirname(__FILE__).'/QF1.1/Framework/Q/Autoloader.php';
require_once dirname(__FILE__).'/../../QF1.1/Framework/Q/Autoloader.php';
$application = new Yaf_Application(APPLICATION_PATH . "/configs/application.ini");
$application->bootstrap()->run();
if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') {
... ...