summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-07 13:35:27 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-07 13:35:27 +0200
commitc839d28f4230dce0c658338f267b821cc16490a2 (patch)
tree8b2905d1594c5fd90c621abff97bb1ff1cda33d1 /system/helpers
parent2ba089ef2e8b0a569b80c822337a6f6f3e928df0 (diff)
Remove some unnecessary function_exists() checks and some minor improvements
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/path_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/path_helper.php b/system/helpers/path_helper.php
index 13410545c..fec4a1a10 100644
--- a/system/helpers/path_helper.php
+++ b/system/helpers/path_helper.php
@@ -55,7 +55,7 @@ if ( ! function_exists('set_realpath'))
}
// Resolve the path
- if (function_exists('realpath') && @realpath($path) !== FALSE)
+ if (@realpath($path) !== FALSE)
{
$path = realpath($path);
}