.
This commit is contained in:
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user