projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Das seitliche Menü hat jetzt Icons für die Unterpunkte, welche auch klickbar sind.
[kivitendo-erp.git]
/
SL
/
Dispatcher.pm
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
8c450ad
..
2c0539b
100644
(file)
--- a/
SL/Dispatcher.pm
+++ b/
SL/Dispatcher.pm
@@
-82,6
+82,10
@@
sub pre_startup_setup {
%::myconfig = ();
%::called_subs = (); # currently used for recursion detection
}
%::myconfig = ();
%::called_subs = (); # currently used for recursion detection
}
+
+ $SIG{__WARN__} = sub {
+ $::lxdebug->warn(@_);
+ }
}
sub pre_startup_checks {
}
sub pre_startup_checks {
@@
-94,6
+98,7
@@
sub pre_startup {
}
sub require_main_code {
}
sub require_main_code {
+ $::lxdebug->enter_sub;
my ($script, $suffix) = @_;
eval {
my ($script, $suffix) = @_;
eval {
@@
-115,6
+120,7
@@
sub require_main_code {
};
$::form->error($EVAL_ERROR) if ($EVAL_ERROR);
}
};
$::form->error($EVAL_ERROR) if ($EVAL_ERROR);
}
+ $::lxdebug->leave_sub;
}
sub handle_request {
}
sub handle_request {