mrtg config is not persistent between calls udeg mod_perl
Brought to you by:
bawidama
On everycall the mrtg-config is reparsed and placed into a global value;
Unfortunally the global value is reset on every call of the script (line 140-142)
So the line 140-142 should be altered from:
-------------------<cut>------------------------
# global vars, persistent for speecyCGI/mod_perl
%my14all::config_cache = ();
$my14all::meurl = '';
-------------------<cut>------------------------
to:
-------------------<cut>------------------------
# global vars, persistent for speecyCGI/mod_perl
%my14all::config_cache = () unless (defined %my14all::config_cache);
$my14all::meurl = '' unless (defined $my14all::meurl);
-------------------<cut>------------------------