fix a bug where the list of macros does not work
This commit is contained in:
parent
e1c79f0c75
commit
908cab06e9
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue