From acfa06e40a9dfdb0dcdc73ff736ea3fe26193e39 Mon Sep 17 00:00:00 2001 From: Ricsi Date: Fri, 14 Apr 2017 14:18:41 +0200 Subject: [PATCH] docker #2 --- _ajax/update_presence.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_ajax/update_presence.php b/_ajax/update_presence.php index 60a777d..da46f76 100644 --- a/_ajax/update_presence.php +++ b/_ajax/update_presence.php @@ -7,8 +7,8 @@ foreach ($_POST as $key => $value) { trigger_error($_SERVER['HTTP_HOST'], E_USER_NOTICE); } */ -if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach'); -else $sql = new sql('bc_mysql','tollashodos','uprRscU8bGpJ','tollashodos'); +if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach'); +else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos'); if ($_POST['checked'] == "true") {