This commit is contained in:
Gnieark 2016-06-23 23:06:13 +02:00
parent ee0d7630c6
commit a7506f1462

View File

@ -14,7 +14,7 @@ header('Content-Type: application/json');
//connexion mysql
require_once("config.php");
if (!$lnMySQL=mysqli_connect($config['mysql_host'], $config['mysql_user'], $config['pass'])) {
if (!$lnMySQL=mysqli_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass'])) {
error(500,'database connexion failed');
die;
}