From a7506f14629e3f1366daeaccadc387353523cdf0 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Thu, 23 Jun 2016 23:06:13 +0200 Subject: [PATCH] . --- connectfourLearn.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectfourLearn.php b/connectfourLearn.php index 56ff9f3..54c3e4f 100644 --- a/connectfourLearn.php +++ b/connectfourLearn.php @@ -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; -} \ No newline at end of file +}