Cache unloaded configs for us poor Win32 saps.
This commit is contained in:
parent
644713b81a
commit
e813598a76
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ sub getConfig {
|
|||
if (exists $config{$filename}) {
|
||||
return $config{$filename};
|
||||
} else {
|
||||
return readConfig($webguiPath,$filename);
|
||||
$config{$filename} = readConfig($webguiPath,$filename);
|
||||
return $config{$filename};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue