summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-04-08 18:29:40 +0200
committerGreg Aker <greg.aker@ellislab.com>2010-04-08 18:29:40 +0200
commit1101602e32c32dcac3fe23b8c43892c3d41a58df (patch)
tree9929ca05b75cb4823ef4748522a1a67583cc5bee
parent3fff87d3c7f7374fae3c4013d4ba1c7ba10f17be (diff)
Fix #15 - Strict Standards Error in index.php
-rw-r--r--index.php2
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 47f1ae9ee..fa34c6514 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
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index dff273d9d..12a4dc92f 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -155,6 +155,7 @@ Hg Tag: </p>
<li>Fixed a bug where files created with the Zip Library would result in file creation dates of 1980.</li>
<li>Fixed a bug in the Session library that would result in PHP error when attempting to store values with objects.</li>
<li>Fixed a bug where extending the Controller class would result in a fatal PHP error.</li>
+ <li>Fixed a PHP Strict Standards Error in the index.php file.</li>
</ul>
<h2>Version 1.7.2</h2>