From ea41c8aa1951216b6a9ccc99832d69d2b41c5ead Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 26 Feb 2014 18:31:02 +0200 Subject: Don't use error suppression on realpath() + style adjustments --- system/helpers/path_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/helpers/path_helper.php') diff --git a/system/helpers/path_helper.php b/system/helpers/path_helper.php index ae1f0bf33..15e7968b9 100644 --- a/system/helpers/path_helper.php +++ b/system/helpers/path_helper.php @@ -56,7 +56,7 @@ if ( ! function_exists('set_realpath')) } // Resolve the path - if (@realpath($path) !== FALSE) + if (realpath($path) !== FALSE) { $path = realpath($path); } -- cgit v1.2.3-24-g4f1b