|
|
@ -32,7 +32,7 @@ public class FILEFactory { |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(envPath.length() + 1), false)); |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(envPath.length() + 1), false)); |
|
|
|
} else if (path.startsWith(WEBREPORT_PREFIX)) { |
|
|
|
} else if (path.startsWith(WEBREPORT_PREFIX)) { |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(WEBREPORT_PREFIX.length()), false), |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(WEBREPORT_PREFIX.length()), false), |
|
|
|
FRContext.getCommonOperator().getWebRootPath()); |
|
|
|
FileNodeFILE.webRootPath); |
|
|
|
} else if (path.startsWith(FILE_PREFIX)) { |
|
|
|
} else if (path.startsWith(FILE_PREFIX)) { |
|
|
|
return new FileFILE(new java.io.File(path.substring(FILE_PREFIX.length()))); |
|
|
|
return new FileFILE(new java.io.File(path.substring(FILE_PREFIX.length()))); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -50,7 +50,7 @@ public class FILEFactory { |
|
|
|
fixFILENodeAuth(new FileNode(path.substring(ENV_PREFIX.length()), true)); |
|
|
|
fixFILENodeAuth(new FileNode(path.substring(ENV_PREFIX.length()), true)); |
|
|
|
} else if (path.startsWith(WEBREPORT_PREFIX)) { |
|
|
|
} else if (path.startsWith(WEBREPORT_PREFIX)) { |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(WEBREPORT_PREFIX.length()), true), |
|
|
|
return new FileNodeFILE(new FileNode(path.substring(WEBREPORT_PREFIX.length()), true), |
|
|
|
FRContext.getCommonOperator().getWebRootPath()); |
|
|
|
FileNodeFILE.webRootPath); |
|
|
|
} else if (path.startsWith(FILE_PREFIX)) { |
|
|
|
} else if (path.startsWith(FILE_PREFIX)) { |
|
|
|
return new FileFILE(new java.io.File(path.substring(FILE_PREFIX.length()))); |
|
|
|
return new FileFILE(new java.io.File(path.substring(FILE_PREFIX.length()))); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|