Fixed an upgrade problem from 4.5.0-4.6.0 and added more debugging to macro compilation.
This commit is contained in:
parent
28e2062cd8
commit
fdc249cf59
6 changed files with 1339 additions and 610 deletions
|
|
@ -118,7 +118,7 @@ sub _loadMacros {
|
|||
$namespace = $1;
|
||||
$cmd = "use WebGUI::Macro::".$1;
|
||||
eval($cmd);
|
||||
WebGUI::ErrorHandler::fatalError("Macro failed to compile: $namespace.") if($@);
|
||||
WebGUI::ErrorHandler::fatalError("Macro failed to compile: $namespace.".$@) if($@);
|
||||
$exclude = $session{config}{excludeMacro};
|
||||
$exclude =~ s/ //g;
|
||||
unless (isIn($namespace, split(/,/,$exclude))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue