Fix creation of protected context
This commit is contained in:
parent
304ea4e456
commit
fa59a27858
1 changed files with 3 additions and 4 deletions
|
@ -536,10 +536,9 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (protectedStaticDir != null) {
|
if (protectedStaticDir != null) {
|
||||||
File protectedContent = getAbsoluteFile(protectedStaticDir);
|
String protectedContent = getAbsoluteFile(protectedStaticDir).getPath();
|
||||||
appContext.setResourceBase(protectedContent.getPath());
|
appContext.setBaseResourceAsString(protectedContent);
|
||||||
getLogger().info("Serving protected static from " +
|
getLogger().info("Serving protected static from " + protectedContent);
|
||||||
protectedContent.getPath());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remap the context paths and start
|
// Remap the context paths and start
|
||||||
|
|
Loading…
Add table
Reference in a new issue