temporary config file fix
This commit is contained in:
parent
24c8e0db7e
commit
dfa1a3d7cb
2 changed files with 2 additions and 4 deletions
|
|
@ -159,9 +159,7 @@ around new => sub {
|
|||
my $class = shift;
|
||||
my $filename = shift;
|
||||
my $noCache = shift;
|
||||
if (!File::Spec->file_name_is_absolute($filename)) {
|
||||
$filename = Cwd::realpath(File::Spec->catfile(WebGUI::Paths->configBase, $filename));
|
||||
}
|
||||
$filename = Cwd::realpath(File::Spec->rel2abs($filename, WebGUI::Paths->configBase));
|
||||
if (exists $config{$filename}) {
|
||||
return $config{$filename};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue