Err: Controller name '8' is not correct!
- /www/wwwroot/sqzhongming.com/protected/include/core.php on line 59
54.
if(!empty($__module))
55.
{
56.
if(!is_available_classname($__module)) err("Err: Module name '$__module' is not correct!");
57.
if(!is_dir(APP_DIR.DS.'protected'.DS.'controller'.DS.$__module))err("Err: Module '$__module' is not exists!");
58.
}
59.
60.
if(!is_available_classname($__controller)) err("Err: Controller name '$__controller' is not correct!");
61.
spl_autoload_register('inner_autoload');
62.
function inner_autoload($class)
63.
{
64.
GLOBAL $__module;
- /www/wwwroot/sqzhongming.com/index.php on line 5
1.
<?php
2.
define('APP_DIR', realpath('./'));
3.
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
4.
define('INCL_DIR', APP_DIR.DS.'protected'.DS.'include');
5.
require(INCL_DIR.DS.'core.php');