摘要:
程序执行到application类中的init()方法。在该方法中根据mca参数值加载了PC_PATH/modules/content/index.php文件,并对该文件中的index类进行初始化,然后访问了该类中的init()方法。PC_PATH/modules/content/index.phpdefined('IN_PHPCMS') or exit('No permission resources.');//防止恶意调用//模型缓存路径define('CACHE_MODEL_PATH',CACHE_PATH.'caches_mode 阅读全文
摘要:
/** * 调用件事 */private function init() { $controller = $this->load_controller(); if (method_exists($controller, ROUTE_A)) { if (preg_match('/^[_]/i', ROUTE_A)) { exit('You are visiting the action is to protect the private action'); } else { call_user_func(arra... 阅读全文
摘要:
(不完全测试)-1:草稿0:普通帖子1:本版置顶2:分类置顶3:全局置顶 阅读全文