[eluser]MaDe[/eluser]
The function show_404 in Exceptions.php writes a log message, that a 404 occured on $page. I had several entries in my log showing 404's, but no page was written into the log, so how to trace, what request could not be served?
I found several places, where show_404() was called without the $page parameter -> this should not be, as this log entry doesn't help at all without a $page entry.
Code:
CodeIgniter.php
- Line 172
- Line 219
Router.php
- Line 207
- Line 228
As a solution I would prefer the $page variable to be set in the above locations (and make the parameter mandatory in the show_404() function) or to use the $_SERVER['REQUEST_URI'] instead of $page to write to log.
Comments appreciated.
Regards,
Marc