summaryrefslogtreecommitdiffstats
path: root/system/helpers/path_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-17 14:43:09 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-17 14:43:09 +0200
commite30b3f7afafa2c016cf78cc8bb8a457c2dbcda8c (patch)
tree805c7d92c46d9f669a6eacda3cc7d36faab22116 /system/helpers/path_helper.php
parentae31eb5e75d914fc3ab622a7ac5c23eb1e6d9f9a (diff)
parent98fde46fb938694feb1f36e590c4cfa5c97c3261 (diff)
Merge pull request #1300 from timw4mail/patch
Fix rest of the helpers
Diffstat (limited to 'system/helpers/path_helper.php')
-rw-r--r--system/helpers/path_helper.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/helpers/path_helper.php b/system/helpers/path_helper.php
index 6ee99072c..13410545c 100644
--- a/system/helpers/path_helper.php
+++ b/system/helpers/path_helper.php
@@ -37,15 +37,15 @@
// ------------------------------------------------------------------------
-/**
- * Set Realpath
- *
- * @param string
- * @param bool checks to see if the path exists
- * @return string
- */
if ( ! function_exists('set_realpath'))
{
+ /**
+ * Set Realpath
+ *
+ * @param string
+ * @param bool checks to see if the path exists
+ * @return string
+ */
function set_realpath($path, $check_existance = FALSE)
{
// Security check to make sure the path is NOT a URL. No remote file inclusion!