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