Changeset 11471
- Timestamp:
- 2006-03-23T11:32:07+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/java/org/nzdl/gsdl/GsdlCollageApplet/GsdlCollageApplet.java
r11420 r11471 109 109 String caption_param = getParameter("caption"); 110 110 String document_root = getParameter("documentroot"); 111 String gwcgi = getParameter("gwcgi"); 111 112 112 113 … … 188 189 if (document_root !=null){ 189 190 document_root = document_root.substring(1); 190 document_root = document_root.substring(0, document_root.indexOf("/")); 191 if (document_root.indexOf("/") > 0 ){ 192 document_root = document_root.substring(0, document_root.indexOf("/")); 193 } 194 else{ 195 document_root = gwcgi; 196 } 191 197 } 192 198
Note:
See TracChangeset
for help on using the changeset viewer.