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

This commit is contained in:
xurongyao 2018-09-16 16:28:59 +08:00
parent 6a08868e43
commit 8fab136a1c

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',