summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
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.');
}
}