Err: Module 'sitemap' is not exists!
- /home/www/cqjcw-net/protected/lib/speed.php on line 622
617.
}
618.
function _err_router($msg)
619.
{
620.
global $__module, $__controller, $__action;
621.
if (!method_exists('BaseController', 'err404')) {
622.
623.
err($msg);
} else {
624.
BaseController::err404($__module, $__controller, $__action, $msg);
625.
}
626.
}
627.
function _err_handle($errno, $errstr, $errfile, $errline)
- /home/www/cqjcw-net/protected/lib/speed.php on line 78
73.
$controller_name = $__controller . 'Controller';
74.
$action_name = 'action' . $__action;
75.
76.
if (!empty($__module)) {
77.
if (!is_available_classname($__module)) _err_router("Err: Module '$__module' is not correct!");
78.
79.
if (!is_dir(APP_DIR . DS . 'protected' . DS . 'controller' . DS . $__module)) _err_router("Err: Module '$__module' is not exists!");
}
80.
if (!is_available_classname($__controller)) _err_router("Err: Controller '$controller_name' is not correct!");
81.
if (!class_exists($controller_name, true)) _err_router("Err: Controller '$controller_name' is not exists!");
82.
if (!method_exists($controller_name, $action_name)) _err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
83.
- /home/www/cqjcw-net/index.php on line 6
1.
<?php
2.
// 用户模块程序入口文件
3.
const APP_DIR = __DIR__;
4.
// 假设这个文件位于项目根目录下
5.
define('ROOT_DIR',APP_DIR);
6.
require(APP_DIR . '/protected/lib/speed.php');