Revision b8388d68
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
SL/LXDebug.pm | ||
---|---|---|
296 | 296 |
} |
297 | 297 |
|
298 | 298 |
sub end_request { |
299 |
my ($self, %params) = @_;
|
|
299 |
my ($self) = @_; |
|
300 | 300 |
return 1 unless want_request_timer(); |
301 | 301 |
|
302 |
$self->_write("time", sprintf('%f (%s/%s)', $self->get_request_time, $params{script_name}, $params{action}));
|
|
302 |
$self->_write("time", $::request ? sprintf('%f (%s/%s)', $self->get_request_time, $::request->controller, $::request->action) : sprintf('%f', $self->get_request_time));
|
|
303 | 303 |
|
304 | 304 |
$self->{calldepth} = 0; |
305 | 305 |
} |
Auch abrufbar als: Unified diff
Dispatcher: aktuellen Controller, Action, Routing-Typ in Request-Objekt speichern