cookie and ob; domain config

This commit is contained in:
Ricsi
2019-03-28 22:50:54 +00:00
parent 999ace3149
commit 2cf8e29367
10 changed files with 153 additions and 164 deletions

View File

@@ -8,7 +8,7 @@ foreach ($_POST as $key => $value) {
}
*/
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach-demo.hu') $sql = new sql('bcd_mysql','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
else $sql = new sql('localhost','id9073794_tollashodos','uprRscU8bGpJ','id9073794_tollashodos');
$check_query = "SELECT * FROM presence WHERE pr_training_tr_id = " . $_POST['tr_id'] . " AND pr_user_kid_uk_id = " . $_POST['user_id'] . ";";