commit | 1101602e32c32dcac3fe23b8c43892c3d41a58df | [log] [tgz] |
---|---|---|
author | Greg Aker <greg.aker@ellislab.com> | Thu Apr 08 11:29:40 2010 -0500 |
committer | Greg Aker <greg.aker@ellislab.com> | Thu Apr 08 11:29:40 2010 -0500 |
tree | 9929ca05b75cb4823ef4748522a1a67583cc5bee | |
parent | 3fff87d3c7f7374fae3c4013d4ba1c7ba10f17be [diff] [blame] |
Fix #15 - Strict Standards Error in index.php
diff --git a/index.php b/index.php index 47f1ae9..fa34c65 100644 --- a/index.php +++ b/index.php
@@ -134,7 +134,7 @@ define('FCPATH', str_replace(SELF, '', __FILE__)); // Name of the "system folder" - define('SYSDIR', end(explode('/', trim(BASEPATH, '/')))); + define('SYSDIR', trim(strrchr(trim(BASEPATH, '/'), '/'), '/')); // The path to the "application" folder