]> git.openstreetmap.org Git - chef.git/blob - cookbooks/donate/templates/default/db-connect.inc.php.erb
c437acb5b928a2bda83acbb9aeb646301a7b686d
[chef.git] / cookbooks / donate / templates / default / db-connect.inc.php.erb
1 <?php
2 $_DB_H = new mysqli('localhost','donate','<%= @passwords['database'] %>','donate');
3 if ($_DB_H->connect_errno) {
4     die('DB Connect Error: ' . $_DB_H->connect_errno);
5 }
6 $_DB_H->query('SET NAMES \'utf8\'');