mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-21 10:07:11 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
f76da3fadf
commit
89ae09c0bd
@ -38,9 +38,6 @@ return [
|
||||
],
|
||||
// 视图输出字符串内容替换
|
||||
'view_replace_str' => [
|
||||
'{__PLUG_PATH}'=>PUBILC_PATH.'static/plug/',
|
||||
'{__STATIC_PATH}'=>PUBILC_PATH.'static/',
|
||||
'{__PUBLIC_PATH}'=>PUBILC_PATH,
|
||||
'{__WAP_PATH}'=>PUBILC_PATH.'wap/first/static/wap/'
|
||||
],
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
urlArgs: "v=201712230955",
|
||||
map: {
|
||||
'*': {
|
||||
'css': '/public/static/plug/requirejs/require-css.js'
|
||||
'css': '{__PLUG_PATH}requirejs/require-css.js'
|
||||
}
|
||||
},
|
||||
shim: {
|
||||
@ -24,7 +24,7 @@
|
||||
deps: ['css!yduicss']
|
||||
}
|
||||
},
|
||||
baseUrl: '//' + location.hostname + '/public',
|
||||
baseUrl: '//' + location.hostname + '/{__PUBLIC_PATH}',
|
||||
paths: {
|
||||
'static': 'static',
|
||||
'vue': 'static/plug/vue/dist/vue.min',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user