Err: "/www/wwwroot/m/protected/view/default/index.html" is not exists!
- /www/wwwroot/m/protected/lib/speed.php on line 542
537.
}
538.
539.
public function compile($tempalte_name) {
540.
$file = $this->template_dir . DS . $tempalte_name;
541.
if (!file_exists($file)) {
542.
543.
err('Err: "' . $file . '" is not exists!');
}
544.
545.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
546.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
547.
}
- /www/wwwroot/m/protected/lib/speed.php on line 513
508.
$this->template_dir = $template_dir;
509.
$this->compile_dir = $compile_dir;
510.
}
511.
512.
public function render($tempalte_name) {
513.
514.
$complied_file = $this->compile($tempalte_name);
515.
@ob_start();
516.
extract($this->template_vals, EXTR_SKIP);
517.
$_view_obj = &$this;
518.
include $complied_file;
- /www/wwwroot/m/protected/lib/speed.php on line 296
291.
$this->_auto_display = false;
292.
293.
if ($return) {
294.
return $this->_v->render($tpl_name);
295.
} else {
296.
297.
echo $this->_v->render($tpl_name);
}
298.
}
299.
}
300.
301.
//echo $_SERVER['REQUEST_URI'];
- /www/wwwroot/m/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/m/protected/lib/speed.php on line 152
147.
if (!method_exists($controller_name, $action_name)) {
148.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
149.
}
150.
151.
$controller_obj = new $controller_name();
152.
153.
$controller_obj->$action_name();
154.
if ($controller_obj->_auto_display) {
155.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
156.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
157.
$controller_obj->display($auto_tpl_name);
- /www/wwwroot/m/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');
//$ali_jump_url = 'https://render.alipay.com/p/yuyan/180020010001206672/rent-index.html?formData=' . urlencode('{"productCode":"TRANSFER_TO_ALIPAY_ACCOUNT","bizScene":"YUEBAO","outBizNo":"","transAmount":"0.63","remark":"' . generateShopName() . substr($trade_no, -5) . '","businessParams":{"returnUrl":""},"payeeInfo":{"identity":"' . $config['userId'] . '","identityType":"ALIPAY_USER_ID"}}');
43.
//$ali_jump_url = 'https://alipay.com/1';
44.
//echo $ali_jump_url.'短网址:'.UrlShorten($ali_jump_url);
45.
if($_GET['runcron']){
46.
//云端防止监控自动停止