diff options
author | admin <devnull@localhost> | 2006-10-29 21:24:11 +0100 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-29 21:24:11 +0100 |
commit | f3a6204bb0f4538d6a77d9c85c56545be73ecd64 (patch) | |
tree | 5f355ad88be33a1f5d35e542984d17b6b6bfb18c /system/database | |
parent | 23b8f61fe500a179e6f71b07c32752b80eac2e1a (diff) |
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_driver.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 49ac8ab24..77069d1a8 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -372,8 +372,8 @@ class CI_DB_driver { if ( ! class_exists($driver)) { - include_once(BASEPATH.'database/DB_result'.EXT); - include_once(BASEPATH.'database/drivers/'.$this->dbdriver.'/'.$this->dbdriver.'_result'.EXT); + include(BASEPATH.'database/DB_result'.EXT); + include(BASEPATH.'database/drivers/'.$this->dbdriver.'/'.$this->dbdriver.'_result'.EXT); } return $driver; @@ -998,7 +998,7 @@ class CI_DB_driver { return TRUE; } - if ( ! @include_once(BASEPATH.'database/DB_cache'.EXT)) + if ( ! @include(BASEPATH.'database/DB_cache'.EXT)) { return $this->cache_off(); } @@ -1054,13 +1054,12 @@ class CI_DB_driver { if ( ! class_exists('CI_Exceptions')) { - include_once(BASEPATH.'libraries/Exceptions'.EXT); + include(BASEPATH.'libraries/Exceptions'.EXT); } $error = new CI_Exceptions(); echo $error->show_error('An Error Was Encountered', $message, 'error_db'); exit; - } } |