added prod domain, sql

This commit is contained in:
Tóth Richárd
2019-08-08 14:21:01 +02:00
parent 5be4e84ff1
commit 9ba300a8c3
7 changed files with 8 additions and 8 deletions

View File

@@ -97,7 +97,7 @@ $smarty->assign('error_msg', $error_msg);
//SQL KAPCSOLAT BEÁLLÍTÁSA
if ($_SERVER['HTTP_HOST'] == 'cegledcoach.hu') $sql = new sql('bcd_mysql','root','','badminton_coach');
else $sql = new sql('localhost','id9073794_tollashodos','uprRscU8bGpJ','id9073794_tollashodos');
else $sql = new sql('localhost','livingsp_admin','135MtxeI8v','livingsp_badminton');
$dev = $_SERVER['HTTP_HOST'] == 'cegledcoach.hu';
@@ -107,7 +107,7 @@ if ($dev) {
$config['domain'] = 'cegledcoach.hu';
}
else {
$config['domain'] = '000webhostapp.com';
$config['domain'] = 'livingsport.hu';
}
//var_dump($sql);