Gnieark 8 years ago
parent ee0d7630c6
commit a7506f1462

@ -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;
}
@ -428,4 +428,4 @@ switch($params['action']){
break;
default:
break;
}
}

Loading…
Cancel
Save