From e813598a7665e12bda90464b087af1753f5f6794 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 28 Nov 2005 14:48:44 +0000 Subject: [PATCH] Cache unloaded configs for us poor Win32 saps. --- lib/WebGUI/Config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Config.pm b/lib/WebGUI/Config.pm index 1c0cdb6a8..3e15d2436 100644 --- a/lib/WebGUI/Config.pm +++ b/lib/WebGUI/Config.pm @@ -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}; } }