From 1101602e32c32dcac3fe23b8c43892c3d41a58df Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Thu, 8 Apr 2010 11:29:40 -0500 Subject: Fix #15 - Strict Standards Error in index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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 -- cgit v1.2.3-24-g4f1b