Err: "/app/sub/app/view/404.html" is not exists!
- /app/sub/app/lib/speed.php on line 399
394.
}
395.
}
396.
397.
public function compile($tempalte_name){
398.
$file = $this->template_dir.DS.$tempalte_name;
399.
400.
if(!file_exists($file)) err('Err: "'.$file.'" is not exists!');
if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
401.
402.
$complied_file = $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
403.
if(file_exists($complied_file))return $complied_file;
404.
- /app/sub/app/lib/speed.php on line 377
372.
$this->template_dir = $template_dir;
373.
$this->compile_dir = $compile_dir;
374.
}
375.
376.
public function render($tempalte_name){
377.
378.
$complied_file = $this->compile($tempalte_name);
379.
@ob_start();
380.
extract($this->template_vals, EXTR_SKIP);
381.
$_view_obj = & $this;
382.
include $complied_file;
- /app/sub/app/lib/speed.php on line 193
188.
$this->_auto_display = false;
189.
190.
if($return){
191.
return $this->_v->render($tpl_name);
192.
}else{
193.
194.
echo $this->_v->render($tpl_name);
}
195.
}
196.
}
197.
198.
class Model{
- /app/sub/app/controller/BaseController.php on line 115
110.
111.
public static function err404($module, $controller, $action)
112.
{
113.
header("HTTP/1.0 404 Not Found");
114.
$controlObj = new Controller;
115.
116.
$controlObj->display("404.html");
exit;
117.
}
118.
// public function err404($menu,$site){
119.
// header("HTTP/1.0 404 Not Found");
120.
//// $controlObj = new Controller;
- /app/sub/app/lib/speed.php on line 494
489.
function _err_router($msg){
490.
Global $__module, $__controller, $__action;
491.
if(!method_exists('BaseController', 'err404')){
492.
err($msg);
493.
}else{
494.
495.
BaseController::err404($__module, $__controller, $__action, $msg);
}
496.
}
497.
function _err_handle($errno, $errstr, $errfile, $errline){
498.
if(0 === error_reporting())return false;
499.
$msg = "ERROR";
- /app/sub/app/lib/speed.php on line 76
71.
if(!empty($__module)){
72.
if(!is_available_classname($__module))_err_router("Err: Module '$__module' is not correct!");
73.
if(!is_dir(APP_CORE.DS.'controller'.DS.$__module))_err_router("Err: Module '$__module' is not exists!");
74.
}
75.
if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
76.
77.
if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
78.
79.
$controller_obj = new $controller_name();
80.
$controller_obj->$action_name();
81.
- /app/sub/index.php on line 14
9.
10.
require_once INC_PATH . '/functions.php';
11.
require_once INCS_PATH . '/function.php';
12.
require_once INCS_PATH . '/ApiJava.php';
13.
14.
require_once APP_CORE . '/lib/speed.php';