Skip to content

Commit

Permalink
Removed debugging helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorton committed Jan 1, 2011
1 parent 3a08db2 commit ff09c08
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions classes/prophet.php
Expand Up @@ -4,8 +4,6 @@ class Prophet {

public static function exception_handler(Exception $e)
{
//Kohana::$environment = Kohana::PRODUCTION;

if (Kohana::$environment === Kohana::DEVELOPMENT)
{
Kohana_Core::exception_handler($e);
Expand All @@ -30,9 +28,6 @@ public static function exception_handler(Exception $e)
$request['action'] = $e->getCode();
}

var_dump(Route::get('prophet_error')->uri($request));
exit;

echo Request::factory(Route::get('prophet_error')->uri($request))
->execute()
->send_headers()
Expand Down

0 comments on commit ff09c08

Please sign in to comment.