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