.
This commit is contained in:
parent
ee0d7630c6
commit
a7506f1462
|
@ -14,7 +14,7 @@ header('Content-Type: application/json');
|
||||||
//connexion mysql
|
//connexion mysql
|
||||||
require_once("config.php");
|
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');
|
error(500,'database connexion failed');
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
@ -428,4 +428,4 @@ switch($params['action']){
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user