]> git.openstreetmap.org Git - chef.git/blob - cookbooks/donate/templates/default/db-connect.inc.php.erb
Update CiviCRM to 5.6.0
[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->report_mode = MYSQLI_REPORT_ERROR;
7 $_DB_H->query('set @@sql_mode = \'\'');
8 $_DB_H->query('SET NAMES \'utf8\'');