This commit is contained in:
Ricsi
2017-04-14 14:18:41 +02:00
parent af3aa3aa7c
commit acfa06e40a

View File

@@ -7,8 +7,8 @@ foreach ($_POST as $key => $value) {
trigger_error($_SERVER['HTTP_HOST'], E_USER_NOTICE); trigger_error($_SERVER['HTTP_HOST'], E_USER_NOTICE);
} }
*/ */
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach'); if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach');
else $sql = new sql('bc_mysql','tollashodos','uprRscU8bGpJ','tollashodos'); else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
if ($_POST['checked'] == "true") { if ($_POST['checked'] == "true") {