Changeset 25963
- Timestamp:
- 2012-07-17T17:27:46+12:00 (11 years ago)
- Location:
- main/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/greenstone/Plugins.java
r20924 r25963 142 142 args.add("-S"); 143 143 args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl"); 144 args.add("-gs_version"); 145 if (Gatherer.GS3) { 146 args.add("3"); 147 } else { 148 args.add("2"); 149 } 144 150 if (collection_specific) { 145 151 args.add("-collection"); … … 150 156 args.add(Configuration.getLanguage()); 151 157 args.add(plugin.getName()); 152 153 158 // Run the pluginfo.pl process 154 159 Runtime runtime = Runtime.getRuntime(); … … 204 209 args.add("-S"); 205 210 args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl"); 211 args.add("-gs_version"); 212 if (Gatherer.GS3) { 213 args.add("3"); 214 } else { 215 args.add("2"); 216 } 206 217 if (collection_name != null) { 207 218 args.add("-collection"); -
main/trunk/greenstone2/common-src/cgi-bin/gliserver.pl
r24872 r25963 825 825 if ($script eq "pluginfo.pl") { 826 826 $perl_args = $gsdl_cgi->clean_param("plugin") || ""; 827 $perl_args = "-gs_version ".$gsdl_cgi->greenstone_version()." ".$perl_args; 827 828 $gsdl_cgi->delete("plugin"); 828 829 }
Note:
See TracChangeset
for help on using the changeset viewer.