日期:2014-05-17  浏览次数:20420 次

cakephp的Dispatcher在什么时候加载的?很费解啊?高分
如题。cakephp的Dispatcher类在什么时候加载出来的,我研究半天了,都还是没有找到。求解!!

------解决方案--------------------
PHP code

if (!defined('PHP5')) {
    define('PHP5', (PHP_VERSION >= 5));
}
if (!defined('E_DEPRECATED')) {
    define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL & ~E_DEPRECATED);

require CORE_PATH . 'cake' . DS . 'basics.php';
$TIME_START = getMicrotime();
require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
require LIBS . 'object.php';
require LIBS . 'inflector.php';
require LIBS . 'configure.php';
require LIBS . 'set.php';
require LIBS . 'cache.php';
Configure::getInstance();
require CAKE . 'dispatcher.php';