mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-13 19:13:51 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
5616dc8b6c
commit
81eadc57f6
@ -19,5 +19,14 @@ return [
|
|||||||
// 是否自动开启 SESSION
|
// 是否自动开启 SESSION
|
||||||
'auto_start' => true,
|
'auto_start' => true,
|
||||||
],
|
],
|
||||||
|
// 视图输出字符串内容替换
|
||||||
|
'view_replace_str' => [
|
||||||
|
'{__ADMIN_PATH}'=>__DIR__.'/public/system/',
|
||||||
|
'{__FRAME_PATH}'=>__DIR__.'/public/system/frame/',
|
||||||
|
'{__PLUG_PATH}'=>__DIR__.'/public/static/plug/',
|
||||||
|
'{__MODULE_PATH}'=>__DIR__.'/public/system/module/',
|
||||||
|
'{__STATIC_PATH}'=>__DIR__.'/public/static/',
|
||||||
|
'{__PUBLIC_PATH}'=>__DIR__.'/public/'
|
||||||
|
],
|
||||||
'system_wechat_tag' => '_system_wechat'
|
'system_wechat_tag' => '_system_wechat'
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user