[更新]修改配置文件

This commit is contained in:
Anyon 2019-09-26 09:52:22 +08:00
parent 7853527079
commit 3aec231910
5 changed files with 10 additions and 8 deletions

2
.gitignore vendored
View File

@ -4,6 +4,7 @@
/runtime
/safefile
/nbproject
/config/cert
/composer.lock
/public/upload
/public/static/theme/css/console.custom.css
@ -14,4 +15,3 @@
/public/static/theme/css/console.layout.css.map
/public/static/theme/css/console.layui.css
/public/static/theme/css/console.layui.css.map
/config/cert

View File

@ -23,5 +23,4 @@ return [
'prefix' => 'fw',
'path' => $_path_,
'name' => $_name_,
// 'var_session_id' => $_name_,
];

View File

@ -13,15 +13,18 @@
// | github 代码仓库https://github.com/zoujingli/ThinkAdmin
// +----------------------------------------------------------------------
use think\facade\Config;
use think\facade\Request;
return [
// 去除HTML空格换行
'strip_space' => true,
// 开启模板编译缓存
'tpl_cache' => !config('app_debug'),
'tpl_cache' => !Config::get('app_debug'),
// 定义模板替换字符串
'tpl_replace_string' => [
'__APP__' => rtrim(url('@'), '\\/'),
'__ROOT__' => rtrim(dirname(request()->basefile()), '\\/'),
'__PUBLIC__' => rtrim(dirname(request()->basefile(true)), '\\/'),
'__APP__' => rtrim(url('@'), '\\/'),
'__ROOT__' => rtrim(dirname(Request::basefile()), '\\/'),
'__FULL__' => rtrim(dirname(Request::basefile(true)), '\\/'),
],
];

View File

@ -83,7 +83,7 @@ body {
color: #fff;
font-size: 18px;
position: absolute;
padding: 12px 15px 13px 20px;
padding: 14px 15px 13px 20px;
}
.login-container form ul li input {
color: #fff;

View File

@ -109,7 +109,7 @@ body {
color: #fff;
font-size: 18px;
position: absolute;
padding: 12px 15px 13px 20px;
padding: 14px 15px 13px 20px;
}
input {