From 014999758e2f4efa433a9c4e71d0551e0b5b318a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 4 Mar 2009 18:15:56 +0000 Subject: Updated Kohana to r4033 --- kohana/libraries/Controller.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'kohana/libraries/Controller.php') diff --git a/kohana/libraries/Controller.php b/kohana/libraries/Controller.php index 5f946bde..317f5f0c 100644 --- a/kohana/libraries/Controller.php +++ b/kohana/libraries/Controller.php @@ -66,18 +66,10 @@ abstract class Controller_Core { // Import the view variables to local namespace extract($kohana_input_data, EXTR_SKIP); - try - { - // Views are straight HTML pages with embedded PHP, so importing them - // this way insures that $this can be accessed as if the user was in - // the controller, which gives the easiest access to libraries in views - include $kohana_view_filename; - } - catch (Exception $e) - { - // Display the exception using its internal __toString method - echo $e; - } + // Views are straight HTML pages with embedded PHP, so importing them + // this way insures that $this can be accessed as if the user was in + // the controller, which gives the easiest access to libraries in views + include $kohana_view_filename; // Fetch the output and close the buffer return ob_get_clean(); -- cgit v1.2.3