diff options
author | Andrey Andreev <narf@devilix.net> | 2015-12-12 16:22:09 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-12-12 16:22:09 +0100 |
commit | c424b3e1e3d95d06a32b5a9d35fa294b11384a8a (patch) | |
tree | 1643cfae87218b0bb67461dd71b4ab2b53ba4450 /system/database/DB_driver.php | |
parent | 7ec771b7592080b231b726abd9f980b7c428b418 (diff) | |
parent | ac0e0bf62d483d1b7db86fe760447ca0dd83baf2 (diff) |
Merge branch 'develop' of github.com:halmai/CodeIgniter into db/init_exception
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index bc016efbf..f3aeb7f81 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -436,7 +436,7 @@ abstract class CI_DB_driver { $this->display_error('db_unable_to_connect'); } - return FALSE; + throw new RuntimeException('Database connection failure.'); } } |