Mercurial > hg > digilib-old
diff servlet/src/digilib/servlet/Scaler.java @ 62:1efc2a994f48
Fixed error converting wx in DigilibRequest.
Fixed error when use-authentication=false.
(ROC)
author | robcast |
---|---|
date | Wed, 28 Aug 2002 23:19:55 +0200 |
parents | 8d9a0abf3626 |
children | 5ea1999befd4 |
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/Scaler.java Wed Aug 28 21:03:30 2002 +0200 +++ b/servlet/src/digilib/servlet/Scaler.java Wed Aug 28 23:19:55 2002 +0200 @@ -82,7 +82,7 @@ baseDirs = servletOp.tryToGetPathArray(baseDirList, baseDirs); // use authentication information String useAuth = servletOp.tryToGetInitParam("use-authorization", "true"); - if ((useAuth.indexOf("false") > 0)||(useAuth.indexOf("FALSE") > 0)) { + if ((useAuth.indexOf("false") > -1)||(useAuth.indexOf("FALSE") > -1)) { useAuthentication = false; } else { useAuthentication = true;