diff --git a/lib/Cake/Error/ErrorHandler.php b/lib/Cake/Error/ErrorHandler.php index 7dcdb6931..5124136c2 100644 --- a/lib/Cake/Error/ErrorHandler.php +++ b/lib/Cake/Error/ErrorHandler.php @@ -22,6 +22,7 @@ App::uses('Debugger', 'Utility'); App::uses('CakeLog', 'Log'); +App::uses('ExceptionRenderer', 'Error'); /** * @@ -107,7 +108,6 @@ class ErrorHandler { * @see http://php.net/manual/en/function.set-exception-handler.php */ public static function handleException(Exception $exception) { - App::import('Core', 'error/ExceptionRenderer'); $config = Configure::read('Exception'); if (!empty($config['log'])) { CakeLog::write(LOG_ERR, '[' . get_class($exception) . '] ' . $exception->getMessage()); diff --git a/cake/libs/error/exception_renderer.php b/lib/Cake/Error/ExceptionRenderer.php similarity index 100% rename from cake/libs/error/exception_renderer.php rename to lib/Cake/Error/ExceptionRenderer.php