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
b8c583de48
commit
c3fcb402c7
@ -38,10 +38,10 @@ return [
|
||||
],
|
||||
// 视图输出字符串内容替换
|
||||
'view_replace_str' => [
|
||||
'{__PLUG_PATH}'=>'/public/static/plug/',
|
||||
'{__STATIC_PATH}'=>'/public/static/',
|
||||
'{__PUBLIC_PATH}'=>'/public/',
|
||||
'{__WAP_PATH}'=>'/application/wap/view/first/static/wap/'
|
||||
'{__PLUG_PATH}'=>PUBILC_PATH.'/public/static/plug/',
|
||||
'{__STATIC_PATH}'=>PUBILC_PATH.'/public/static/',
|
||||
'{__PUBLIC_PATH}'=>PUBILC_PATH.'/public/',
|
||||
'{__WAP_PATH}'=>PUBILC_PATH.'wap/first/static/'
|
||||
],
|
||||
|
||||
'exception_handle' =>\basic\WapException::class,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user