summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:22:59 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:22:59 +0200
commitcf634bc3c6847787a22e66a2f54d9a6aa931fccc (patch)
treeb3e369dae1813611e60c56444a26dc1acc0d705a
parent13d37ed612ed1a340b6fd5f74dd21ff462bbf47e (diff)
Function was operationg backward to user guide description. Bug #5007
-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 624e26e1e..c5ee1fb05 100644
--- a/system/helpers/path_helper.php
+++ b/system/helpers/path_helper.php
@@ -37,7 +37,7 @@
*/
if ( ! function_exists('set_realpath'))
{
- function set_realpath($path, $check_existance = TRUE)
+ function set_realpath($path, $check_existance = FALSE)
{
// Security check to make sure the path is NOT a URL. No remote file inclusion!
if (preg_match("#^(http:\/\/|https:\/\/|www\.|ftp|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})#i", $path))