fix a bug where the list of macros does not work

This commit is contained in:
Colin Kuskie 2005-12-09 04:47:53 +00:00
parent e1c79f0c75
commit 908cab06e9
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
package WebGUI::i18n::English::Automated_Information;
##This module must not be preloaded, since it requires that $session
##be populated when the module is use'ed.
use WebGUI::Session;
use WebGUI::International;

View file

@ -36,7 +36,10 @@ use WebGUI ();
use WebGUI::Utility ();
use File::Find ();
my @modules = ();
my @excludes = ();
##The Automated_Information module includes code that requires that $session be active when it is
##called. By preloading it before $session is defined, it causes all of the generated information
#to be empty
my @excludes = qw(WebGUI::i18n::English::Automated_Information);
open(FILE,"<".$webguiRoot."/sbin/preload.exclude");
while (<FILE>) {
chomp;