Fixed Paypal IPN and other minor items
This commit is contained in:
@@ -46,6 +46,7 @@ class Kohana_Exception extends Kohana_Kohana_Exception {
|
||||
try {
|
||||
if (Kohana::$config->load('debug')->show_errors) {
|
||||
return parent::response($e);
|
||||
|
||||
} else {
|
||||
SystemMessage::add(array(
|
||||
'title'=>'An Error Occured.',
|
||||
@@ -57,6 +58,7 @@ class Kohana_Exception extends Kohana_Kohana_Exception {
|
||||
$response = Response::factory();
|
||||
$response->status(302);
|
||||
$response->headers('Location',URL::site());
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user