includes/dbal.php
changeset 353 2398420f48e7
parent 352 9d7225c0db6d
child 374 5c740e430a05
--- a/includes/dbal.php	Thu Jan 17 09:39:56 2008 -0500
+++ b/includes/dbal.php	Thu Jan 17 23:31:35 2008 -0500
@@ -199,7 +199,11 @@
     $q = $this->sql_query('USE `'.$dbname.'`;');
     
     if ( !$q )
+    {
+      if ( $manual_credentials )
+        return false;
       $this->_die('The database could not be selected.');
+    }
     
     // We're in!
     $this->disable_errorhandler();