fix pluggable and config
This commit is contained in:
parent
5a4e083d85
commit
39adb44007
2 changed files with 3 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ sub new {
|
|||
my $filename = shift;
|
||||
my $noCache = shift;
|
||||
if (!File::Spec->file_name_is_absolute($filename)) {
|
||||
Cwd::realpath($filename = File::Spec->catfile(WebGUI::Paths->configBase, $filename));
|
||||
$filename = Cwd::realpath(File::Spec->catfile(WebGUI::Paths->configBase, $filename));
|
||||
}
|
||||
if (exists $config{$filename}) {
|
||||
return $config{$filename};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue