Home >Backend Development >PHP Tutorial > cakephp的Dispatcher在什么时候加载的?很费解啊高分,该怎么解决

cakephp的Dispatcher在什么时候加载的?很费解啊高分,该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:50:19773browse

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'; <div class="clear">
                 
              
              
        
            </div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn