Err: "/www/wwwroot/test.com/protected/view/main_404.html" is not exists!
- /www/wwwroot/test.com/protected/lib/speed.php on line 418
413.
}
414.
}
415.
416.
public function compile($tempalte_name){
417.
$file = $this->template_dir.DS.$tempalte_name;
418.
419.
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');
420.
421.
$complied_file = $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
422.
if(file_exists($complied_file))return $complied_file;
423.
- /www/wwwroot/test.com/protected/tmp/d856a5ab21f08a71ffb29ab2869b4b0a.1730471377.layout.html.php on line 145
140.
</div>
141.
</header>
142.
<div class="ax-space-header"></div>
143.
144.
<!--内容区-->
145.
146.
<?php include $_view_obj->compile($__template_file); ?>
147.
148.
149.
150.
<!--底部-->
- /www/wwwroot/test.com/protected/lib/speed.php on line 401
396.
$complied_file = $this->compile($tempalte_name);
397.
398.
@ob_start();
399.
extract($this->template_vals, EXTR_SKIP);
400.
$_view_obj = & $this;
401.
402.
include $complied_file;
403.
return ob_get_clean();
404.
}
405.
406.
public function assign($mixed, $val = ''){
- /www/wwwroot/test.com/protected/lib/speed.php on line 213
208.
$this->_auto_display = false;
209.
210.
if($return){
211.
return $this->_v->render($tpl_name);
212.
}else{
213.
214.
echo $this->_v->render($tpl_name);
}
215.
}
216.
}
217.
218.
class Model{
- /www/wwwroot/test.com/protected/controller/pc/MainController.php on line 722
717.
exit();
718.
}
719.
$QtSources = new QtSources();
720.
$record = $QtSources->find(array("id"=>$id));
721.
if($record == false){
722.
723.
$this->display("main_404.html");
exit();
724.
}
725.
$this->config["site_title"] = $record["title"]."-".$this->config["site_title"];
726.
$this->config["site_keywords"] = $record["tags"]."-".$this->config["site_keywords"];
727.
$this->config["site_description"] = $record["description"]."-".$this->config["site_description"];
- /www/wwwroot/test.com/protected/lib/speed.php on line 96
91.
exit;
92.
};
93.
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
94.
95.
$controller_obj = new $controller_name();
96.
97.
$controller_obj->$action_name();
98.
if($controller_obj->_auto_display){
99.
$auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
100.
if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
101.
}
- /www/wwwroot/test.com/index.php on line 8
3.
header('Access-Control-Allow-Origin: *');
4.
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
5.
header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With');
6.
define('APP_DIR', realpath('./'));
7.
define("APP_PATH",dirname(__FILE__));
8.
require(APP_DIR.'/protected/lib/speed.php');