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