]> git.pld-linux.org Git - packages/drupal.git/blob - drupal-emptypass.patch
- add README.PLD
[packages/drupal.git] / drupal-emptypass.patch
1 # without replication patch:
2 #--- ./includes/database.mysql.inc~     2005-04-14 21:50:23.000000000 +0300
3 #+++ ./includes/database.mysql.inc      2005-05-18 18:48:24.970031862 +0300
4 #@@ -28,7 +28,7 @@
5 #      $url['host'] = $url['host'] .':'. $url['port'];
6 #   }
7
8 #-  $connection = mysql_connect($url['host'], $url['user'], $url['pass'], TRUE) or die(mysql_error());
9 #+  $connection = mysql_connect($url['host'], $url['user'], @$url['pass'], TRUE) or die(mysql_error());
10 #   mysql_select_db(substr($url['path'], 1)) or die('unable to select database');
11
12 #   return $connection;
13 --- ./includes/database.mysql.inc~      2005-08-15 16:11:07.000000000 +0300
14 +++ ./includes/database.mysql.inc       2005-08-15 16:11:39.000000000 +0300
15 @@ -29,7 +29,7 @@
16    }
17  
18    // For replication setups, we will assume that dieing is bad 
19 -  $connection = mysql_pconnect($url['host'], $url['user'], $url['pass'], TRUE);
20 +  $connection = mysql_pconnect($url['host'], $url['user'], @$url['pass'], TRUE);
21    if(!is_resource($connection) && $critical) {
22      die(mysql_error());
23    }
This page took 0.022056 seconds and 3 git commands to generate.