mirror of
				https://gitee.com/zoujingli/ThinkAdmin.git
				synced 2025-11-04 05:32:09 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						||
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
// | ThinkAdmin
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
// | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
// | 官方网站: http://demo.thinkadmin.top
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
// | 开源协议 ( https://mit-license.org )
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
// | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
 | 
						||
// | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
 | 
						||
// +----------------------------------------------------------------------
 | 
						||
 | 
						||
return [
 | 
						||
    // 应用地址
 | 
						||
    'app_host'         => '',
 | 
						||
    // 应用的命名空间
 | 
						||
    'app_namespace'    => '',
 | 
						||
    // 是否启用路由
 | 
						||
    'with_route'       => true,
 | 
						||
    // 是否启用事件
 | 
						||
    'with_event'       => true,
 | 
						||
    // 开启应用快速访问
 | 
						||
    'app_express'      => true,
 | 
						||
    // 默认应用
 | 
						||
    'default_app'      => 'index',
 | 
						||
    // 默认时区
 | 
						||
    'default_timezone' => 'Asia/Shanghai',
 | 
						||
    // 应用映射(自动多应用模式有效)
 | 
						||
    'app_map'          => [],
 | 
						||
    // 域名绑定(自动多应用模式有效)
 | 
						||
    'domain_bind'      => [],
 | 
						||
    // 禁止URL访问的应用列表(自动多应用模式有效)
 | 
						||
    'deny_app_list'    => [],
 | 
						||
    // 异常页面的模板文件
 | 
						||
    'exception_tmpl'   => app()->getThinkPath() . 'tpl/think_exception.tpl',
 | 
						||
    // 错误显示信息,非调试模式有效
 | 
						||
    'error_message'    => '页面错误!请稍后再试~',
 | 
						||
    // 显示错误信息
 | 
						||
    'show_error_msg'   => true,
 | 
						||
    // 当前应用版本号
 | 
						||
    'thinkadmin_ver'   => 'v6',
 | 
						||
]; |