X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=getdown%2Fsrc%2Fgetdown%2Fcore%2Fsrc%2Fmain%2Fjava%2Fcom%2Fthreerings%2Fgetdown%2Fdata%2FBuild.java.tmpl;h=1023ede99521fdde08a7cb8b23aa89c8c3a7acba;hb=f0dfe10695b42e98e4d7b6801786107c478d5111;hp=86ea47b0ade5ac41a491be9a366e643fd772a9c9;hpb=04891000c8b07e61b59f3b5ced0e42835dec73ce;p=jalview.git diff --git a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Build.java.tmpl b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Build.java.tmpl index 86ea47b..1023ede 100644 --- a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Build.java.tmpl +++ b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Build.java.tmpl @@ -62,4 +62,15 @@ public class Build { return 30; } } + + /* + *

Whether to allow the local "file://" scheme for appbase + */ + public static boolean allowLocatorFileProtocol() { + try { + return Boolean.valueOf("@allow_file_protocol@"); + } catch (Exception e) { + return false; + } + } }