移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录

This commit is contained in:
xurongyao 2018-09-16 16:32:27 +08:00
parent 2534c04b76
commit 3b54116a00

View File

@ -16,7 +16,7 @@
deps:['css!layercss'] deps:['css!layercss']
} }
}, },
baseUrl:'//'+location.hostname+'{__PUBLIC_PATH}/', baseUrl:'//'+location.hostname+"/{__PUBLIC_PATH}",
paths: { paths: {
'static':'static', 'static':'static',
'system':'system', 'system':'system',