...
|
...
|
@@ -4,7 +4,6 @@ define('APPLICATION_PATH', dirname(__DIR__)); |
|
|
###########################################################################################
|
|
|
defined('Q_APPLICATION_ENV') || define('Q_APPLICATION_ENV', (ini_get('yaf.environ') ? ini_get('yaf.environ') : 'release'));
|
|
|
###########################################################################################
|
|
|
set_include_path(implode(PATH_SEPARATOR, array(get_include_path(), ini_get('yaf.library'))));
|
|
|
require_once dirname(__FILE__).'/../../QF1.1/Framework/Q/Autoloader.php';
|
|
|
if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') {
|
|
|
$_beginTime = microtime(true);
|
...
|
...
|
@@ -13,6 +12,7 @@ if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') { |
|
|
echo (microtime(true) - $_beginTime) . ' Start Xhprof Time.<br />';
|
|
|
}
|
|
|
$application = new Yaf_Application(APPLICATION_PATH . "/configs/application.ini");
|
|
|
error_reporting(0);
|
|
|
$application->bootstrap()->run();
|
|
|
if (!empty($_GET['_qdebug']) && $_GET['_qdebug'] == 'xhprof') {
|
|
|
echo '<br />' . (microtime(true) - $_beginTime) . ' End Run Time.<br />';
|
...
|
...
|
|