Err: "/www/wwwroot/dns.tvsss.cn/protected/view/default/index.html" is not exists!
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 831
826.
* @return string
827.
*/
828.
public function compile($tempalte_name) {
829.
$file = $this->template_dir . DS . $tempalte_name;
830.
if (!file_exists($file)) {
831.
832.
err('Err: "' . $file . '" is not exists!');
}
833.
834.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
835.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
836.
}
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 792
787.
*
788.
* @param string $tempalte_name 模板名
789.
* @return string
790.
*/
791.
public function render($tempalte_name) {
792.
793.
$complied_file = $this->compile($tempalte_name);
794.
@ob_start();
795.
extract($this->template_vals, EXTR_SKIP);
796.
$_view_obj = &$this;
797.
include $complied_file;
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 410
405.
$this->_auto_display = false;
406.
407.
if ($return) {
408.
return $this->_v->render($tpl_name);
409.
} else {
410.
411.
echo $this->_v->render($tpl_name);
}
412.
}
413.
}
414.
415.
/**
- /www/wwwroot/dns.tvsss.cn/protected/controller/MainController.php on line 40
35.
if (!file_exists($templateFile)) {
36.
exit($templateFile.' -> 无首页模板,请前往后台进行首页模板设置');
37.
}
38.
39.
$this->assets = '/Template/Index/' . $template . '/assets/';
40.
41.
$this->display($template . '/index.html');
}
42.
}
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 208
203.
_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
204.
}
205.
206.
// 执行控制器
207.
$controller_obj = new $controller_name();
208.
209.
$controller_obj->$action_name();
210.
// 自动渲染视图
211.
if ($controller_obj->_auto_display) {
212.
$auto_tpl_name = (empty($__module) ? '' : $__module . DS) . $__controller . '_' . $__action . '.html';
213.
if (file_exists(APP_DIR . DS . 'protected' . DS . 'view' . DS . $auto_tpl_name)) {
- /www/wwwroot/dns.tvsss.cn/index.php on line 108
103.
}
104.
105.
define('APP_DIR', realpath('./'));
106.
require(APP_DIR.'/protected/Version.php');
107.
require(APP_DIR.'/protected/lib/Common.php');
108.
109.
require(APP_DIR.'/protected/lib/Speed.php');
?>