Err: "/www/wwwroot/c.7c3.cn/protected/view/default/index.html" is not exists!
- /www/wwwroot/c.7c3.cn/protected/lib/Speed.php on line 1004
999.
if ($resolved !== $file && file_exists($resolved)) {
1000.
$file = $resolved;
1001.
}
1002.
}
1003.
if (!file_exists($file)) {
1004.
1005.
err('Err: "' . $file . '" is not exists!');
}
1006.
1007.
if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
1008.
err('Err: Directory "' . $this->compile_dir . '" is not writable or readable');
1009.
}
- /www/wwwroot/c.7c3.cn/protected/lib/Speed.php on line 959
954.
*
955.
* @param string $tempalte_name 模板名
956.
* @return string
957.
*/
958.
public function render($tempalte_name) {
959.
960.
$complied_file = $this->compile($tempalte_name);
961.
@ob_start();
962.
extract($this->template_vals, EXTR_SKIP);
963.
$_view_obj = &$this;
964.
include $complied_file;
- /www/wwwroot/c.7c3.cn/protected/lib/Speed.php on line 487
482.
$this->_auto_display = false;
483.
484.
if ($return) {
485.
return $this->_v->render($tpl_name);
486.
} else {
487.
488.
echo $this->_v->render($tpl_name);
}
489.
}
490.
491.
public function pluginView($code, $tpl_name, $return = false) {
492.
$pluginViewDir = APP_DIR . DS . 'protected' . DS . 'lib' . DS . 'Plugin' . DS . $code . DS . 'view';
- /www/wwwroot/c.7c3.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/c.7c3.cn/protected/lib/Speed.php on line 274
269.
270.
// 执行控制器
271.
$controller_obj = new $controller_name();
272.
273.
try {
274.
275.
$controller_obj->$action_name();
} catch (\Throwable $e) {
276.
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
277.
header('Content-Type: application/json');
278.
echo json_encode(array('code' => -1, 'msg' => '系统异常: ' . $e->getMessage() . ' 在 ' . basename($e->getFile()) . ':' . $e->getLine()), JSON_UNESCAPED_UNICODE);
279.
} else {
- /www/wwwroot/c.7c3.cn/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');
?>