Changeset 2249 for trunk/system/core/Kohana.php
- Timestamp:
- 03/09/2008 03:09:43 PM (10 months ago)
- Files:
-
- 1 modified
-
trunk/system/core/Kohana.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Kohana.php
r2229 r2249 534 534 if (Config::item('core.display_errors')) 535 535 { 536 if ( $line != FALSE)536 if ( ! IN_PRODUCTION AND $line != FALSE) 537 537 { 538 538 // Remove the first entry of debug_backtrace(), it is the exception_handler call … … 1088 1088 if (isset($entry['file'])) 1089 1089 { 1090 // Add file (without docroot) 1091 $temp .= '<strong>'.preg_replace('!^'.preg_quote(DOCROOT).'!', '', $entry['file']); 1092 // Add line 1093 $temp .= ' ['.$entry['line'].']:</strong>'; 1090 $temp .= Kohana::lang('core.error_file_line', preg_replace('!^'.preg_quote(DOCROOT).'!', '', $entry['file']), $entry['line']); 1094 1091 } 1095 1092
