Err: "/www/wwwroot/dns.hn100001.com/protected/view/aurora/index.html" is not exists!
- /www/wwwroot/dns.hn100001.com/protected/lib/Speed.php on line 995
990.
if ($resolved !== $file && file_exists($resolved)) {
991.
$file = $resolved;
992.
}
993.
}
994.
if (!file_exists($file)) {
995.
996.
err('Err: "' . $file . '" is not exists!');
}
997.
998.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
999.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
1000.
}
- /www/wwwroot/dns.hn100001.com/protected/lib/Speed.php on line 950
945.
*
946.
* @param string $tempalte_name 模板名
947.
* @return string
948.
*/
949.
public function render($tempalte_name) {
950.
951.
$complied_file = $this->compile($tempalte_name);
952.
@ob_start();
953.
extract($this->template_vals, EXTR_SKIP);
954.
$_view_obj = &$this;
955.
include $complied_file;
- /www/wwwroot/dns.hn100001.com/protected/lib/Speed.php on line 478
473.
$this->_auto_display = false;
474.
475.
if ($return) {
476.
return $this->_v->render($tpl_name);
477.
} else {
478.
479.
echo $this->_v->render($tpl_name);
}
480.
}
481.
482.
public function pluginView($code, $tpl_name, $return = false) {
483.
$pluginViewDir = APP_DIR . DS . 'protected' . DS . 'lib' . DS . 'Plugin' . DS . $code . DS . 'view';
- /www/wwwroot/dns.hn100001.com/protected/controller/MainController.php on line 71
66.
if (!file_exists($templateFile)) {
67.
exit($templateFile.' -> 无首页模板,请前往后台进行首页模板设置');
68.
}
69.
70.
$this->assets = '/Template/Index/' . $template . '/assets/';
71.
72.
$this->display($template . '/index.html');
}
73.
}
- /www/wwwroot/dns.hn100001.com/protected/lib/Speed.php on line 267
262.
263.
// 执行控制器
264.
$controller_obj = new $controller_name();
265.
266.
try {
267.
268.
$controller_obj->$action_name();
} catch (\Throwable $e) {
269.
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
270.
header('Content-Type: application/json');
271.
echo json_encode(array('code' => -1, 'msg' => '系统异常: ' . $e->getMessage() . ' 在 ' . basename($e->getFile()) . ':' . $e->getLine()), JSON_UNESCAPED_UNICODE);
272.
} else {
- /www/wwwroot/dns.hn100001.com/index.php on line 109
104.
}
105.
106.
define('APP_DIR', realpath('./'));
107.
require(APP_DIR.'/protected/Version.php');
108.
require(APP_DIR.'/protected/lib/Common.php');
109.
110.
require(APP_DIR.'/protected/lib/Speed.php');
?>