Err: Method 'action_chengjiao' of 'category_controller' is not exists!
- D:\wwwroot\shangpu\wwwroot\protected\include\core.php on line 85
80.
81.
$controller_name = $__controller.'_controller';
82.
$action_name = 'action_'.$__action;
83.
if(!class_exists($controller_name, true)) err("Err: Controller '$controller_name' is not exists!");
84.
$controller_obj = new $controller_name();
85.
86.
if(!method_exists($controller_obj, $action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
87.
$controller_obj->$action_name();
88.
89.
function url($c = 'main', $a = 'index', $param = array()) {
90.
if(is_array($c)) {
- D:\wwwroot\shangpu\wwwroot\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');