Err: "/www/wwwroot/xmf.tkcdk.cn/protected/view/gogo/index.html" is not exists!
- /www/wwwroot/xmf.tkcdk.cn/protected/lib/speed.php on line 521
516.
}
517.
518.
public function compile($tempalte_name) {
519.
$file = $this->template_dir . DS . $tempalte_name;
520.
if (!file_exists($file)) {
521.
522.
err('Err: "' . $file . '" is not exists!');
}
523.
524.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
525.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
526.
}
- /www/wwwroot/xmf.tkcdk.cn/protected/lib/speed.php on line 492
487.
$this->template_dir = $template_dir;
488.
$this->compile_dir = $compile_dir;
489.
}
490.
491.
public function render($tempalte_name) {
492.
493.
$complied_file = $this->compile($tempalte_name);
494.
@ob_start();
495.
extract($this->template_vals, EXTR_SKIP);
496.
$_view_obj = &$this;
497.
include $complied_file;
- /www/wwwroot/xmf.tkcdk.cn/protected/lib/speed.php on line 275
270.
$this->_auto_display = false;
271.
272.
if ($return) {
273.
return $this->_v->render($tpl_name);
274.
} else {
275.
276.
echo $this->_v->render($tpl_name);
}
277.
}
278.
}
279.
280.
//echo $_SERVER['REQUEST_URI'];
- /www/wwwroot/xmf.tkcdk.cn/protected/controller/MainController.php on line 14
9.
$template_index = $template.'/index.html';
10.
}else{
11.
echo TEMPLATE_ROOT;
12.
exit(' -> 无首页模板,请前往后台进行首页模板设置');
13.
}
14.
15.
$this->display($template_index);
}
16.
}
- /www/wwwroot/xmf.tkcdk.cn/protected/lib/speed.php on line 131
126.
if (!method_exists($controller_name, $action_name)) {
127.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
128.
}
129.
130.
$controller_obj = new $controller_name();
131.
132.
$controller_obj->$action_name();
133.
if ($controller_obj->_auto_display) {
134.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
135.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
136.
$controller_obj->display($auto_tpl_name);
- /www/wwwroot/xmf.tkcdk.cn/index.php on line 41
36.
}
37.
38.
define('APP_DIR', realpath('./'));
39.
require(APP_DIR.'/protected/Version.php');
40.
require(APP_DIR.'/protected/lib/Common.php');
41.
42.
require(APP_DIR.'/protected/lib/speed.php');
43.
if($_GET['runcron']){
44.
//云端防止监控自动停止
45.
$ch = curl_init();curl_setopt($ch, CURLOPT_URL, ((int)$_SERVER['SERVER_PORT'] == 80 ? 'http://'.$_SERVER['HTTP_HOST'] : 'https://'.$_SERVER['HTTP_HOST']).'/Crontab/Tim/Run?r='.time());curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($ch, CURLOPT_TIMEOUT, 1);curl_exec($ch);curl_close($ch);
46.
exit('站点正常哦');