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 1054
1049.
if ($resolved !== $file && file_exists($resolved)) {
1050.
$file = $resolved;
1051.
}
1052.
}
1053.
if (!file_exists($file)) {
1054.
1055.
err('Err: "' . $file . '" is not exists!');
}
1056.
1057.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
1058.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
1059.
}
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 1009
1004.
*
1005.
* @param string $tempalte_name 模板名
1006.
* @return string
1007.
*/
1008.
public function render($tempalte_name) {
1009.
1010.
$complied_file = $this->compile($tempalte_name);
1011.
@ob_start();
1012.
extract($this->template_vals, EXTR_SKIP);
1013.
$_view_obj = &$this;
1014.
include $complied_file;
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 537
532.
$this->_auto_display = false;
533.
534.
if ($return) {
535.
return $this->_v->render($tpl_name);
536.
} else {
537.
538.
echo $this->_v->render($tpl_name);
}
539.
}
540.
541.
public function pluginView($code, $tpl_name, $return = false) {
542.
$pluginViewDir = APP_DIR . DS . 'protected' . DS . 'lib' . DS . 'Plugin_Ext' . DS . $code . DS . 'view';
- /www/wwwroot/dns.tvsss.cn/protected/controller/MainController.php on line 73
68.
if (!file_exists($templateFile)) {
69.
exit($templateFile.' -> 无首页模板,请前往后台进行首页模板设置');
70.
}
71.
72.
$this->assets = '/Template/Index/' . $template . '/assets/';
73.
74.
$this->display($template . '/index.html');
}
75.
}
- /www/wwwroot/dns.tvsss.cn/protected/lib/Speed.php on line 324
319.
320.
// 执行控制器
321.
$controller_obj = new $controller_name();
322.
323.
try {
324.
325.
$controller_obj->$action_name();
} catch (\Throwable $e) {
326.
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
327.
header('Content-Type: application/json');
328.
echo json_encode(array('code' => -1, 'msg' => '系统异常: ' . $e->getMessage() . ' 在 ' . basename($e->getFile()) . ':' . $e->getLine()), JSON_UNESCAPED_UNICODE);
329.
} else {
- /www/wwwroot/dns.tvsss.cn/index.php on line 113
108.
require(APP_DIR.'/protected/lib/Common.php');
109.
$speedFile = APP_DIR . '/protected/lib/Speed.php';
110.
if (function_exists('resolve_path_case')) {
111.
$speedFile = resolve_path_case($speedFile);
112.
}
113.
114.
require($speedFile);
?>