summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-04-08 18:47:33 +0200
committerGreg Aker <greg.aker@ellislab.com>2010-04-08 18:47:33 +0200
commit0846d746cfe30f827dd20952a6b492ec4b61de95 (patch)
tree75469802e0fe827b266d6c6c1d0264013bb9e9e0 /index.php
parent1101602e32c32dcac3fe23b8c43892c3d41a58df (diff)
Update to realpath() check of SYSDIR in index.php
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index fa34c6514..0eef7b895 100644
--- a/index.php
+++ b/index.php
@@ -102,7 +102,7 @@
* Resolve the system path for increased reliability
* ---------------------------------------------------------------
*/
- if (function_exists('realpath') AND @realpath($system_path) !== FALSE)
+ if (realpath($system_path) !== FALSE)
{
$system_path = realpath($system_path).'/';
}