includes/dbal.php
changeset 352 9d7225c0db6d
parent 348 87e08a6e4fec
child 374 5c740e430a05
--- a/includes/dbal.php	Thu Jan 17 19:49:14 2008 -0500
+++ b/includes/dbal.php	Thu Jan 17 23:28:43 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();