This commit is contained in:
地平线
2015-05-07 17:30:15 +08:00
parent 29c66f63d0
commit 2d850d4607
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ public final class HttpResourceServlet extends HttpServlet {
public void init(Context context, AnyValue config) {
String[] rootstrs = null;
if (config != null) {
rootstrs = config.getValue("webroot", "root").trim().split(",");
rootstrs = config.getValue("webroot", "root").trim().split(";");
for (int i = 0; i < rootstrs.length; i++) {
String rootstr = rootstrs[i];
if (rootstr.indexOf(':') < 0 && rootstr.indexOf('/') != 0 && System.getProperty("APP_HOME") != null) {