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