From 1c8bbb4e4a123cbdb62106ba96378ef6a849713c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 23 Feb 2010 12:26:51 +0100 Subject: [PATCH] warnings gefixt, und globals besser dokumentiert. --- SL/Dispatcher.pm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index b4f75ba1b..620857459 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -64,17 +64,19 @@ sub pre_startup_setup { require "bin/mozilla/installationcheck.pl"; } or die $EVAL_ERROR; - # dummy globals + # canonial globals. if it's not here, chances are it will get refactored someday. { no warnings 'once'; - $::userspath = "users"; - $::templates = "templates"; - $::memberfile = "users/members"; - $::menufile = "menu.ini"; - $::sendmail = "| /usr/sbin/sendmail -t"; - $::lxdebug = LXDebug->new; - $::auth = SL::Auth->new; - %::myconfig = (); + $::userspath = "users"; + $::templates = "templates"; + $::memberfile = "users/members"; + $::menufile = "menu.ini"; + $::sendmail = "| /usr/sbin/sendmail -t"; + $::lxdebug = LXDebug->new; + $::auth = SL::Auth->new; + $::form = undef; + %::myconfig = (); + %::called_subs = (); # currently used for recursion detection } } -- 2.20.1