commit | 85c7c61523177bb9307c6ea8439090de4c39c457 | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Mon Jan 14 13:18:36 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Mon Jan 14 13:18:36 2008 +0000 |
tree | d4e061a5fb3934bdff4586f21ae3e07980268917 | |
parent | 39af731090428b2a50bc196cc89931520483569f [diff] |
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 == '')