Config->new in this branch needs the WebGUI root directory.

This commit is contained in:
Colin Kuskie 2010-06-14 14:29:07 -07:00
parent 025eafaf80
commit 746ba98ec7

View file

@ -358,7 +358,7 @@ sub config {
return $config
if $config;
require WebGUI::Config;
$config = WebGUI::Config->new($CLASS->file, 1);
$config = WebGUI::Config->new($CLASS->root, $CLASS->file, 1);
return $config;
}