X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/da9a7a4c59377d9c45e028d0fecf6296889011e6..5c47d954b6d631cba545ba5793c11c1cc90e37ce:/cookbooks/donate/templates/default/db-connect.inc.php.erb?ds=sidebyside diff --git a/cookbooks/donate/templates/default/db-connect.inc.php.erb b/cookbooks/donate/templates/default/db-connect.inc.php.erb index b2d2a6f5e..ce05bc99f 100644 --- a/cookbooks/donate/templates/default/db-connect.inc.php.erb +++ b/cookbooks/donate/templates/default/db-connect.inc.php.erb @@ -1,4 +1,4 @@ '); +$_DB_H = mysql_connect('localhost','donate','<%= @passwords['database'] %>'); mysql_select_db('donate', $_DB_H); mysql_query('SET NAMES \'utf8\'', $_DB_H);