Err: "/www/wwwroot/ar.3ph.cn/protected/view/default/index.html" is not exists!
- /www/wwwroot/ar.3ph.cn/protected/lib/speed.php on line 502
497.
}
498.
499.
public function compile($tempalte_name) {
500.
$file = $this->template_dir . DS . $tempalte_name;
501.
if (!file_exists($file)) {
502.
503.
err('Err: "' . $file . '" is not exists!');
}
504.
505.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
506.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
507.
}
- /www/wwwroot/ar.3ph.cn/protected/lib/speed.php on line 473
468.
$this->template_dir = $template_dir;
469.
$this->compile_dir = $compile_dir;
470.
}
471.
472.
public function render($tempalte_name) {
473.
474.
$complied_file = $this->compile($tempalte_name);
475.
@ob_start();
476.
extract($this->template_vals, EXTR_SKIP);
477.
$_view_obj = &$this;
478.
include $complied_file;
- /www/wwwroot/ar.3ph.cn/protected/lib/speed.php on line 267
262.
$this->_auto_display = false;
263.
264.
if ($return) {
265.
return $this->_v->render($tpl_name);
266.
} else {
267.
268.
echo $this->_v->render($tpl_name);
}
269.
}
270.
}
271.
272.
//echo $_SERVER['REQUEST_URI'];
- /www/wwwroot/ar.3ph.cn/protected/controller/MainController.php on line 16
11.
$template_index = $template.'/index.html';
12.
}else{
13.
echo TEMPLATE_ROOT;
14.
exit(' -> 无首页模板,请前往后台进行首页模板设置');
15.
}
16.
17.
$this->display($template_index);
}
18.
}
- /www/wwwroot/ar.3ph.cn/protected/lib/speed.php on line 123
118.
if (!method_exists($controller_name, $action_name)) {
119.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
120.
}
121.
122.
$controller_obj = new $controller_name();
123.
124.
$controller_obj->$action_name();
125.
if ($controller_obj->_auto_display) {
126.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
127.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
128.
$controller_obj->display($auto_tpl_name);
- /www/wwwroot/ar.3ph.cn/index.php on line 45
40.
if($_GET['runcron']){
41.
//云端防止监控自动停止
42.
$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);
43.
exit('站点正常哦');
44.
}
45.
require(APP_DIR.'/protected/lib/speed.php');