commit | 0846d746cfe30f827dd20952a6b492ec4b61de95 | [log] [tgz] |
---|---|---|
author | Greg Aker <greg.aker@ellislab.com> | Thu Apr 08 11:47:33 2010 -0500 |
committer | Greg Aker <greg.aker@ellislab.com> | Thu Apr 08 11:47:33 2010 -0500 |
tree | 75469802e0fe827b266d6c6c1d0264013bb9e9e0 | |
parent | 1101602e32c32dcac3fe23b8c43892c3d41a58df [diff] [blame] |
Update to realpath() check of SYSDIR in index.php
diff --git a/index.php b/index.php index fa34c65..0eef7b8 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).'/'; }