mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-16 14:22:48 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
8fab136a1c
commit
2534c04b76
@ -19,14 +19,5 @@ return [
|
|||||||
// 是否自动开启 SESSION
|
// 是否自动开启 SESSION
|
||||||
'auto_start' => true,
|
'auto_start' => true,
|
||||||
],
|
],
|
||||||
// 视图输出字符串内容替换
|
|
||||||
'view_replace_str' => [
|
|
||||||
'{__ADMIN_PATH}'=>PUBILC_PATH.'system/',
|
|
||||||
'{__FRAME_PATH}'=>PUBILC_PATH.'system/frame/',
|
|
||||||
'{__PLUG_PATH}'=>PUBILC_PATH.'static/plug/',
|
|
||||||
'{__MODULE_PATH}'=>PUBILC_PATH.'system/module/',
|
|
||||||
'{__STATIC_PATH}'=>PUBILC_PATH.'static/',
|
|
||||||
'{__PUBLIC_PATH}'=>PUBILC_PATH
|
|
||||||
],
|
|
||||||
'system_wechat_tag' => '_system_wechat'
|
'system_wechat_tag' => '_system_wechat'
|
||||||
];
|
];
|
||||||
|
|||||||
@ -36,17 +36,6 @@ return [
|
|||||||
// 标签库标签结束标记
|
// 标签库标签结束标记
|
||||||
'taglib_end' => '}',
|
'taglib_end' => '}',
|
||||||
],
|
],
|
||||||
// 视图输出字符串内容替换
|
|
||||||
'view_replace_str' => [
|
|
||||||
'{__ADMIN_PATH}'=>PUBILC_PATH.'system/',
|
|
||||||
'{__FRAME_PATH}'=>PUBILC_PATH.'system/frame/',
|
|
||||||
'{__PLUG_PATH}'=>PUBILC_PATH.'static/plug/',
|
|
||||||
'{__MODULE_PATH}'=>PUBILC_PATH.'system/module/',
|
|
||||||
'{__STATIC_PATH}'=>PUBILC_PATH.'static/',
|
|
||||||
'{__PUBLIC_PATH}'=>PUBILC_PATH,
|
|
||||||
'{__WAP_PATH}'=>PUBILC_PATH.'wap/first/static/wap/'
|
|
||||||
],
|
|
||||||
|
|
||||||
'exception_handle' =>\basic\WapException::class,
|
'exception_handle' =>\basic\WapException::class,
|
||||||
'empty_controller' =>'AuthController'
|
'empty_controller' =>'AuthController'
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user