mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改配置文件
This commit is contained in:
parent
e252f9ba78
commit
da61b6d407
@ -18,7 +18,7 @@ return [
|
|||||||
'app_namespace' => '',
|
'app_namespace' => '',
|
||||||
// 是否启用路由
|
// 是否启用路由
|
||||||
'with_route' => true,
|
'with_route' => true,
|
||||||
// 开启应用快速访问
|
// 应用快速访问
|
||||||
'app_express' => true,
|
'app_express' => true,
|
||||||
// 默认应用
|
// 默认应用
|
||||||
'default_app' => 'index',
|
'default_app' => 'index',
|
||||||
@ -30,8 +30,8 @@ return [
|
|||||||
'domain_bind' => [],
|
'domain_bind' => [],
|
||||||
// 禁止URL访问的应用列表(自动多应用模式有效)
|
// 禁止URL访问的应用列表(自动多应用模式有效)
|
||||||
'deny_app_list' => [],
|
'deny_app_list' => [],
|
||||||
// 异常页面的模板文件
|
// 非调试模式时显示错误的消息
|
||||||
'exception_tmpl' => app()->getBasePath() . 'admin/view/error.tpl',
|
|
||||||
// 错误显示信息,非调试模式有效
|
|
||||||
'error_message' => '页面错误!请稍后再试~',
|
'error_message' => '页面错误!请稍后再试~',
|
||||||
|
// 调试模式异常页面的模板文件
|
||||||
|
'exception_tmpl' => app()->getBasePath() . 'admin/view/error.tpl',
|
||||||
];
|
];
|
@ -16,7 +16,7 @@
|
|||||||
return [
|
return [
|
||||||
// 默认缓存驱动
|
// 默认缓存驱动
|
||||||
'default' => 'file',
|
'default' => 'file',
|
||||||
// 缓存连接方式配置
|
// 缓存连接配置
|
||||||
'stores' => [
|
'stores' => [
|
||||||
'file' => [
|
'file' => [
|
||||||
// 驱动方式
|
// 驱动方式
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
|
||||||
return [
|
return [
|
||||||
// 默认日志记录通道
|
// 默认日志通道
|
||||||
'default' => 'file',
|
'default' => 'file',
|
||||||
// 日志记录级别
|
// 日志记录级别
|
||||||
'level' => [],
|
'level' => [],
|
||||||
// 日志类型记录的通道 ['error'=>'email',...]
|
// 日志类型记录的通道
|
||||||
'type_channel' => [],
|
'type_channel' => [],
|
||||||
// 关闭全局日志写入
|
// 关闭全局日志写入
|
||||||
'close' => false,
|
'close' => false,
|
||||||
@ -34,11 +34,11 @@ return [
|
|||||||
// 单文件日志写入
|
// 单文件日志写入
|
||||||
'single' => true,
|
'single' => true,
|
||||||
// 指定日志类型
|
// 指定日志类型
|
||||||
'level' => ['notice', 'error', 'sql'],
|
'level' => ['info', 'notice', 'error', 'sql'],
|
||||||
// 独立日志级别
|
// 独立日志级别
|
||||||
'apart_level' => true,
|
'apart_level' => true,
|
||||||
// 每个文件大小 ( 10兆 )
|
// 每个文件大小 ( 10兆 )
|
||||||
'file_size' => 1024 * 1024 * 10,
|
'file_size' => 10485760,
|
||||||
// 日志日期格式
|
// 日志日期格式
|
||||||
'time_format' => 'Y-m-d H:i:s',
|
'time_format' => 'Y-m-d H:i:s',
|
||||||
// 最大日志文件数量
|
// 最大日志文件数量
|
||||||
|
@ -22,6 +22,6 @@ return [
|
|||||||
'store' => null,
|
'store' => null,
|
||||||
// 过期时间
|
// 过期时间
|
||||||
'expire' => 1800,
|
'expire' => 1800,
|
||||||
// 前缀
|
// 文件前缀
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
];
|
];
|
@ -27,7 +27,7 @@ return [
|
|||||||
// 去除HTML空格换行
|
// 去除HTML空格换行
|
||||||
'strip_space' => true,
|
'strip_space' => true,
|
||||||
// 模板缓存配置
|
// 模板缓存配置
|
||||||
'tpl_cache' => false,
|
'tpl_cache' => !app()->isDebug(),
|
||||||
// 模板引擎普通标签开始标记
|
// 模板引擎普通标签开始标记
|
||||||
'tpl_begin' => '{',
|
'tpl_begin' => '{',
|
||||||
// 模板引擎普通标签结束标记
|
// 模板引擎普通标签结束标记
|
||||||
|
3
vendor/composer/autoload_classmap.php
vendored
3
vendor/composer/autoload_classmap.php
vendored
@ -211,6 +211,9 @@ return array(
|
|||||||
'app\\data\\controller\\ShopOrderService' => $baseDir . '/app/data/controller/ShopOrderService.php',
|
'app\\data\\controller\\ShopOrderService' => $baseDir . '/app/data/controller/ShopOrderService.php',
|
||||||
'app\\data\\controller\\ShopTruckCompany' => $baseDir . '/app/data/controller/ShopTruckCompany.php',
|
'app\\data\\controller\\ShopTruckCompany' => $baseDir . '/app/data/controller/ShopTruckCompany.php',
|
||||||
'app\\data\\controller\\ShopTruckTemplate' => $baseDir . '/app/data/controller/ShopTruckTemplate.php',
|
'app\\data\\controller\\ShopTruckTemplate' => $baseDir . '/app/data/controller/ShopTruckTemplate.php',
|
||||||
|
'app\\data\\controller\\StoreItem' => $baseDir . '/app/data/controller/StoreItem.php',
|
||||||
|
'app\\data\\controller\\StoreUsed' => $baseDir . '/app/data/controller/StoreUsed.php',
|
||||||
|
'app\\data\\controller\\StoreUser' => $baseDir . '/app/data/controller/StoreUser.php',
|
||||||
'app\\data\\controller\\api\\Auth' => $baseDir . '/app/data/controller/api/Auth.php',
|
'app\\data\\controller\\api\\Auth' => $baseDir . '/app/data/controller/api/Auth.php',
|
||||||
'app\\data\\controller\\api\\Data' => $baseDir . '/app/data/controller/api/Data.php',
|
'app\\data\\controller\\api\\Data' => $baseDir . '/app/data/controller/api/Data.php',
|
||||||
'app\\data\\controller\\api\\Goods' => $baseDir . '/app/data/controller/api/Goods.php',
|
'app\\data\\controller\\api\\Goods' => $baseDir . '/app/data/controller/api/Goods.php',
|
||||||
|
3
vendor/composer/autoload_static.php
vendored
3
vendor/composer/autoload_static.php
vendored
@ -339,6 +339,9 @@ class ComposerStaticInit4f89fd0e0503ccf740f2fa5757825d7b
|
|||||||
'app\\data\\controller\\ShopOrderService' => __DIR__ . '/../..' . '/app/data/controller/ShopOrderService.php',
|
'app\\data\\controller\\ShopOrderService' => __DIR__ . '/../..' . '/app/data/controller/ShopOrderService.php',
|
||||||
'app\\data\\controller\\ShopTruckCompany' => __DIR__ . '/../..' . '/app/data/controller/ShopTruckCompany.php',
|
'app\\data\\controller\\ShopTruckCompany' => __DIR__ . '/../..' . '/app/data/controller/ShopTruckCompany.php',
|
||||||
'app\\data\\controller\\ShopTruckTemplate' => __DIR__ . '/../..' . '/app/data/controller/ShopTruckTemplate.php',
|
'app\\data\\controller\\ShopTruckTemplate' => __DIR__ . '/../..' . '/app/data/controller/ShopTruckTemplate.php',
|
||||||
|
'app\\data\\controller\\StoreItem' => __DIR__ . '/../..' . '/app/data/controller/StoreItem.php',
|
||||||
|
'app\\data\\controller\\StoreUsed' => __DIR__ . '/../..' . '/app/data/controller/StoreUsed.php',
|
||||||
|
'app\\data\\controller\\StoreUser' => __DIR__ . '/../..' . '/app/data/controller/StoreUser.php',
|
||||||
'app\\data\\controller\\api\\Auth' => __DIR__ . '/../..' . '/app/data/controller/api/Auth.php',
|
'app\\data\\controller\\api\\Auth' => __DIR__ . '/../..' . '/app/data/controller/api/Auth.php',
|
||||||
'app\\data\\controller\\api\\Data' => __DIR__ . '/../..' . '/app/data/controller/api/Data.php',
|
'app\\data\\controller\\api\\Data' => __DIR__ . '/../..' . '/app/data/controller/api/Data.php',
|
||||||
'app\\data\\controller\\api\\Goods' => __DIR__ . '/../..' . '/app/data/controller/api/Goods.php',
|
'app\\data\\controller\\api\\Goods' => __DIR__ . '/../..' . '/app/data/controller/api/Goods.php',
|
||||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// This file is automatically generated at:2020-11-21 16:48:10
|
// This file is automatically generated at:2020-11-23 10:26:22
|
||||||
declare (strict_types = 1);
|
declare (strict_types = 1);
|
||||||
return array (
|
return array (
|
||||||
0 => 'think\\admin\\Library',
|
0 => 'think\\admin\\Library',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user