Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d
diff --git a/system/core/Config.php b/system/core/Config.php
index 0e5fa52..3de1bcb 100755
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -189,7 +189,7 @@
 	 */
 	public function item($item, $index = '')
 	{
-		if ($index === '')
+		if ($index == '')
 		{
 			return isset($this->config[$item]) ? $this->config[$item] : FALSE;
 		}