mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-07 14:25:35 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
0a9498a236
commit
6a08868e43
@ -5,7 +5,7 @@
|
|||||||
requirejs.config({
|
requirejs.config({
|
||||||
map: {
|
map: {
|
||||||
'*': {
|
'*': {
|
||||||
'css': "{__PLUG_PATH}requirejs/require-css.js"
|
'css': "{__PUBLIC_PATH}static/plug/requirejs/require-css.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
shim:{
|
shim:{
|
||||||
@ -16,7 +16,7 @@
|
|||||||
deps:['css!layercss']
|
deps:['css!layercss']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
baseUrl:'//'+location.hostname+"{__PLUG_PATH}",
|
baseUrl:'//'+location.hostname+'/{__PUBLIC_PATH}',
|
||||||
paths: {
|
paths: {
|
||||||
'static':'static',
|
'static':'static',
|
||||||
'system':'system',
|
'system':'system',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user