commit | 2ddc9496e9403a59a87b644d1c2b9a106b773e46 | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Thu Aug 05 10:08:33 2010 -0400 |
committer | Derek Allard <derek.allard@ellislab.com> | Thu Aug 05 10:08:33 2010 -0400 |
tree | 5762dccce2cc5c308cbc8224f09442729cac4bc3 | |
parent | 073e15cea53c53b73a215a86a22aabe4d5db2549 [diff] [blame] |
Added an optional second parameter to <kbd>show_404()</kbd> to disable logging.
diff --git a/system/core/Common.php b/system/core/Common.php index 9dee591..2b8ad26 100644 --- a/system/core/Common.php +++ b/system/core/Common.php
@@ -317,10 +317,10 @@ * @access public * @return void */ - function show_404($page = '') + function show_404($page = '', $log_error = TRUE) { $_error =& load_class('Exceptions', 'core'); - $_error->show_404($page); + $_error->show_404($page, $log_error); exit; }