Changeset 5006


Ignore:
Timestamp:
02/28/10 22:11:23 (10 years ago)
Author:
nikrou
Message:

Feature 1255 : bug in install with mysql and postgresql if some form parameters are missing.

Location:
trunk/include/dblayer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dblayer/functions_mysql.inc.php

    r4929 r5006  
    3535function pwg_db_connect($host, $user, $password, $database) 
    3636 
    37   $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', true); 
    38   mysql_select_db($database, $link) or my_error('mysql_select_db', true); 
     37  $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', false); 
     38  mysql_select_db($database, $link) or my_error('mysql_select_db', false); 
    3939 
    4040  return $link; 
  • trunk/include/dblayer/functions_pgsql.inc.php

    r4892 r5006  
    5050                                $password, 
    5151                                $database); 
    52   $link = pg_connect($connection_string) or my_error('pg_connect', true);   
     52  $link = pg_connect($connection_string) or my_error('pg_connect', false);   
    5353 
    5454  return $link; 
Note: See TracChangeset for help on using the changeset viewer.