Changeset 28997 for main/trunk/greenstone2/perllib/util.pm
- Timestamp:
- 2014-04-28T14:36:29+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r28604 r28997 1113 1113 } 1114 1114 return $ENV{'GSDLOS'}.$gsdlarch; 1115 } 1116 1117 # returns 1 if this (GS server) is a GS3 installation, returns 0 if it's GS2. 1118 sub is_gs3() { 1119 if($ENV{'GSDL3SRCHOME'}) { 1120 return 1; 1121 } else { 1122 return 0; 1123 } 1115 1124 } 1116 1125
Note:
See TracChangeset
for help on using the changeset viewer.