Improved exception handling and other minor fixes
This commit is contained in:
15
application/classes/HTTP/Exception/403.php
Normal file
15
application/classes/HTTP/Exception/403.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This class overrides Kohana's 403 Exception
|
||||
*
|
||||
* @package OSB
|
||||
* @category Exceptions
|
||||
* @author Deon George
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class HTTP_Exception_403 extends HTTP_Exception {
|
||||
protected $_code = 403;
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user