diff --git a/application/helpers/asset_helper.php b/application/helpers/asset_helper.php index 30544248..9c135a66 100644 --- a/application/helpers/asset_helper.php +++ b/application/helpers/asset_helper.php @@ -24,8 +24,6 @@ */ function asset_url($uri = '', $protocol = NULL) { - $CI =& get_instance(); - $debug = config('debug'); $cache_busting_token = ! $debug ? '?' . config('cache_busting_token') : ''; diff --git a/application/helpers/custom_exceptions_helper.php b/application/helpers/custom_exceptions_helper.php index 64865197..0bc56f84 100644 --- a/application/helpers/custom_exceptions_helper.php +++ b/application/helpers/custom_exceptions_helper.php @@ -14,13 +14,13 @@ /** * Print an exception to an HTML text. * - * This method is used to display exceptions in a way that is useful and easy - * for the user to see. It uses the Bootstrap CSS accordion markup to display - * the message and when the user clicks on it the exception trace will be revealed. - * We display only one exceptions at a time because the user needs to be able - * to display the details of each exception seperately. (In contrast with js). + * This method is used to display exceptions in a way that is useful and easy for the user to see. It uses the + * Bootstrap CSS accordion markup to display the message and when the user clicks on it the exception trace will be + * revealed. We display only one exceptions at a time because the user needs to be able to display the details of each + * exception separately. * * @param Exception $exception The exception to be displayed. + * * @return string Returns the html markup of the exception. */ function exceptionToHtml($exception) @@ -30,8 +30,7 @@ function exceptionToHtml($exception)