Changeset 3345 for trunk/system/views

Show
Ignore:
Timestamp:
08/17/2008 01:41:46 AM (4 months ago)
Author:
Shadowhand
Message:

API CHANGE!

Upgrades to core (Bootstrap, utf8, Kohana):

  • Added Kohana_PHP_Exception
  • Changed Kohana error/exception handling to be cleaner and easier to disable, removed Kohana::exception_handler
  • Moved kohana_error_page, kohana_error_disabled, and kohana_errors to the views/kohana directory
  • Changed Kohana::list_files to use DirectoryIterator? (<3 SPL)
  • Moved utf8 check to Bootstrap
Location:
trunk/system/views/kohana
Files:
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/system/views/kohana/error.php

    r3330 r3345  
    66        <base href="http://php.net/" /> 
    77        <style type="text/css"> 
    8         <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> 
     8        <?php include Kohana::find_file('views', 'kohana/error_style', FALSE, 'css') ?> 
    99        </style> 
    1010</head> 
  • trunk/system/views/kohana/error_disabled.php

    r3330 r3345  
    55        <title><?php echo $error ?></title> 
    66        <style type="text/css"> 
    7         <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> 
     7        <?php include Kohana::find_file('views', 'kohana/error_style', FALSE, 'css') ?> 
    88        </style> 
    99</head> 
  • trunk/system/views/kohana/error_style.css