WebGUI 1.3.1 release

This commit is contained in:
JT Smith 2001-10-03 05:25:00 +00:00
parent 5687f5ee66
commit 6cf30b32bd
13 changed files with 69 additions and 83 deletions

View file

@ -102,7 +102,8 @@ sub open {
tie %USER, 'Tie::CPHash';
tie %VARS, 'Tie::CPHash';
tie %PAGE, 'Tie::CPHash';
$config = new Data::Config '../etc/WebGUI.conf';
$CONFIG{webguiRoot} = $_[0];
$config = new Data::Config $CONFIG{webguiRoot}.'/etc/WebGUI.conf';
foreach ($config->param) {
$CONFIG{$_} = $config->param($_);
}