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

@@ -3,7 +3,7 @@
ini_set('include_path', '../_class/');
include('class_sql.php');
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');
if (empty($_GET['template_id'])) {
echo json_encode(null);