source: main/trunk/package-kits/scripts/perllib/Greenstone/Config.pm@ 29675

Last change on this file since 29675 was 29675, checked in by Jeremy Symon, 9 years ago

Added gs-mksite.pl. Checks if a site exists, and creates new sites with a collect directory and siteConfig.xml file. Reads the GSDL environment variables to find the sites location (with a default if they aren't set).

File size: 327 bytes
Line 
1package Greenstone::Config;
2
3use strict;
4use warnings;
5use utf8;
6
7my $defaultGSDLHOME = "/usr/share/greenstone/gs2build";
8my $defaultGSDL3HOME= "/usr/share/greenstone/web";
9
10our $GSDLHOME = defined $ENV{GSDLHOME} ? $ENV{GSDLHOME} : $defaultGSDLHOME;
11our $GSDL3HOME= defined $ENV{GSDL3HOME}? $ENV{GSDL3HOME}: $defaultGSDL3HOME;
Note: See TracBrowser for help on using the repository browser.