Show
Ignore:
Timestamp:
03/09/2008 03:09:43 PM (10 months ago)
Author:
Shadowhand
Message:

Changes to Kohana exception/error handling:

  • Added KOHANA_ERROR_CSS to index.php
  • Updated error pages to use new KOHANA_ERROR_CSS constant
  • Reflected changes in Kohana and i18n/core.php
  • Kohana::exeception_handler will no longer include the backtrace when IN_PRODUCTION is enabled, for a small security benefit
  • Changed index.php directory checks to only execute when IN_PRODUCTION is enabled, for a small performance benefit
  • Small cleanups in index.php comments
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/en_US/core.php

    r1810 r2249  
    1313        'page_not_found'        => 'The page you requested, <tt>%s</tt>, could not be found.', 
    1414        'stats_footer'          => 'Loaded in {execution_time} seconds, using {memory_usage} of memory. Generated by Kohana v{kohana_version}.', 
    15         'error_message'         => 'Error occurred at <strong>line %s</strong> of <strong>%s</strong>.', 
     15        'error_file_line'       => '<tt>%s <strong>[%s]:</strong></tt>', 
    1616        'stack_trace'           => 'Stack Trace', 
    1717        'generic_error'         => 'Unable to Complete Request',