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