12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- use think\facade\Env;
- return [
-
- 'app_host' => Env::get('app.host', ''),
-
- 'app_namespace' => '',
-
- 'with_route' => true,
-
- 'with_event' => true,
-
- 'app_map' => [],
-
- 'domain_bind' => [],
-
- 'deny_app_list' => ['common'],
-
- 'app_express' => true,
-
- 'default_app' => 'admin',
-
- 'default_timezone' => 'Asia/Shanghai',
-
- 'empty_controller' => 'index',
- 'empty_module' => 'error',
-
- 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl',
- 'http_exception_template'=>[
- 404 => \think\facade\App::getAppPath() . '404.html',
- 401 => \think\facade\App::getAppPath() . '401.html',
- ],
-
- 'dispatch_success_tmpl' => app()->getAppPath(). '../view/template/dispatch_jump.tpl',
- 'dispatch_error_tmpl' => app()->getAppPath(). '../view/template/dispatch_jump.tpl',
-
- 'error_message' => '您访问的内容不存在',
-
- 'show_error_msg' => true,
- ];
|