Index: /trunk/include/dblayer/functions_mysql.inc.php
===================================================================
--- /trunk/include/dblayer/functions_mysql.inc.php	(revision 4929)
+++ /trunk/include/dblayer/functions_mysql.inc.php	(revision 5006)
@@ -35,6 +35,6 @@
 function pwg_db_connect($host, $user, $password, $database)
 {  
-  $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', true);
-  mysql_select_db($database, $link) or my_error('mysql_select_db', true);
+  $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', false);
+  mysql_select_db($database, $link) or my_error('mysql_select_db', false);
 
   return $link;
Index: /trunk/include/dblayer/functions_pgsql.inc.php
===================================================================
--- /trunk/include/dblayer/functions_pgsql.inc.php	(revision 4892)
+++ /trunk/include/dblayer/functions_pgsql.inc.php	(revision 5006)
@@ -50,5 +50,5 @@
 				$password,
 				$database);
-  $link = pg_connect($connection_string) or my_error('pg_connect', true);  
+  $link = pg_connect($connection_string) or my_error('pg_connect', false);  
 
   return $link;
