fix a segment db cache bug
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
index f8ea616..1e74107 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -163,7 +163,7 @@
 	{	

 		if ($segment_one == '')

 		{

-			$segment_one  = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(2);

+			$segment_one  = ($this->CI->uri->segment(1) == FALSE) ? 'default' : $this->CI->uri->segment(1);

 		}

 		

 		if ($segment_two == '')