Changeset 10543
- Timestamp:
- 2005-08-19T17:21:32+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r10541 r10543 138 138 // We have to use our own collect directory since we can't use the Greenstone one 139 139 setCollectDirectoryPath(getGLIUserDirectoryPath() + "collect" + File.separator); 140 141 // If a gliserver URL has been specified...142 if (go.gliserver_url_string != null) {143 cgiBase = go.gliserver_url_string.substring(0, go.gliserver_url_string.lastIndexOf('/') + 1);144 }145 140 } 146 141 // No, we have a local Greenstone … … 292 287 // If we're using a remote Greenstone we need to know where the gliserver script is 293 288 DebugStream.println("Configuration.gliserver_url = " + Configuration.gliserver_url); 294 if (isGsdlRemote && Configuration.gliserver_url == null) { 295 missingGLIServer(); 289 if (isGsdlRemote) { 290 if (Configuration.gliserver_url == null) { 291 missingGLIServer(); 292 } 293 if (Configuration.gliserver_url != null) { 294 gliserver_url_string = Configuration.gliserver_url.toString(); 295 cgiBase = gliserver_url_string.substring(0, gliserver_url_string.lastIndexOf('/') + 1); 296 } 296 297 } 297 298
Note:
See TracChangeset
for help on using the changeset viewer.