unshift @INC, $exe_dir;
}
+use Carp;
use CGI qw( -no_xhtml);
use Config::Std;
use DateTime;
$::lxdebug->warn(@_);
};
+ $SIG{__DIE__} = sub { Carp::confess( @_ ) } if $::lx_office_conf{debug}->{backtrace_on_die};
+
$self->_cache_file_modification_times;
}
my %routing;
eval { %routing = _route_request($ENV{SCRIPT_NAME}); 1; } or return;
($routing_type, $script_name, $action) = @routing{qw(type controller action)};
+ $::lxdebug->log_request($routing_type, $script_name, $action);
$::request->type(lc($routing{request_type} || 'html'));
1;
} or do {
- if ($EVAL_ERROR ne END_OF_REQUEST) {
+ if (substr($EVAL_ERROR, 0, length(END_OF_REQUEST())) ne END_OF_REQUEST()) {
my $error = $EVAL_ERROR;
print STDERR $error;