summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-12-12 16:22:09 +0100
committerAndrey Andreev <narf@devilix.net>2015-12-12 16:22:09 +0100
commitc424b3e1e3d95d06a32b5a9d35fa294b11384a8a (patch)
tree1643cfae87218b0bb67461dd71b4ab2b53ba4450 /system
parent7ec771b7592080b231b726abd9f980b7c428b418 (diff)
parentac0e0bf62d483d1b7db86fe760447ca0dd83baf2 (diff)
Merge branch 'develop' of github.com:halmai/CodeIgniter into db/init_exception
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_driver.php2
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.');
}
}