Err: "/www/wwwroot/mscy.online/protected/view/default/index.html" is not exists!
- /www/wwwroot/mscy.online/protected/lib/speed.php on line 539
534.
}
535.
536.
public function compile($tempalte_name) {
537.
$file = $this->template_dir . DS . $tempalte_name;
538.
if (!file_exists($file)) {
539.
540.
err('Err: "' . $file . '" is not exists!');
}
541.
542.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
543.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
544.
}
- /www/wwwroot/mscy.online/protected/lib/speed.php on line 510
505.
$this->template_dir = $template_dir;
506.
$this->compile_dir = $compile_dir;
507.
}
508.
509.
public function render($tempalte_name) {
510.
511.
$complied_file = $this->compile($tempalte_name);
512.
@ob_start();
513.
extract($this->template_vals, EXTR_SKIP);
514.
$_view_obj = &$this;
515.
include $complied_file;
- /www/wwwroot/mscy.online/protected/lib/speed.php on line 293
288.
$this->_auto_display = false;
289.
290.
if ($return) {
291.
return $this->_v->render($tpl_name);
292.
} else {
293.
294.
echo $this->_v->render($tpl_name);
}
295.
}
296.
}
297.
298.
//echo $_SERVER['REQUEST_URI'];
- /www/wwwroot/mscy.online/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/mscy.online/protected/lib/speed.php on line 149
144.
if (!method_exists($controller_name, $action_name)) {
145.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
146.
}
147.
148.
$controller_obj = new $controller_name();
149.
150.
$controller_obj->$action_name();
151.
if ($controller_obj->_auto_display) {
152.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
153.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
154.
$controller_obj->display($auto_tpl_name);
- /www/wwwroot/mscy.online/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('站点正常哦');