Err: "/www/wwwroot/pay.shuimxue.com/protected/view/sy002/index.html" is not exists!
- /www/wwwroot/pay.shuimxue.com/protected/lib/speed.php on line 529
524.
}
525.
526.
public function compile($tempalte_name) {
527.
$file = $this->template_dir . DS . $tempalte_name;
528.
if (!file_exists($file)) {
529.
530.
err('Err: "' . $file . '" is not exists!');
}
531.
532.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
533.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
534.
}
- /www/wwwroot/pay.shuimxue.com/protected/lib/speed.php on line 500
495.
$this->template_dir = $template_dir;
496.
$this->compile_dir = $compile_dir;
497.
}
498.
499.
public function render($tempalte_name) {
500.
501.
$complied_file = $this->compile($tempalte_name);
502.
@ob_start();
503.
extract($this->template_vals, EXTR_SKIP);
504.
$_view_obj = &$this;
505.
include $complied_file;
- /www/wwwroot/pay.shuimxue.com/protected/lib/speed.php on line 294
289.
$this->_auto_display = false;
290.
291.
if ($return) {
292.
return $this->_v->render($tpl_name);
293.
} else {
294.
295.
echo $this->_v->render($tpl_name);
}
296.
}
297.
}
298.
299.
//echo $_SERVER['REQUEST_URI'];
- /www/wwwroot/pay.shuimxue.com/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/pay.shuimxue.com/protected/lib/speed.php on line 150
145.
if (!method_exists($controller_name, $action_name)) {
146.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
147.
}
148.
149.
$controller_obj = new $controller_name();
150.
151.
$controller_obj->$action_name();
152.
if ($controller_obj->_auto_display) {
153.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
154.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
155.
$controller_obj->display($auto_tpl_name);
- /www/wwwroot/pay.shuimxue.com/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');