custom training price

This commit is contained in:
Tóth Richárd
2019-07-25 12:22:15 +02:00
parent 161453e9b5
commit 2c663d7ed1
20 changed files with 266 additions and 156 deletions

View File

@@ -96,15 +96,15 @@ $smarty->assign('today', date('Y-m-d'));
$smarty->assign('error_msg', $error_msg);
//SQL KAPCSOLAT BEÁLLÍTÁSA
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach-demo.hu') $sql = new sql('bcd_mysql','root','','badminton_coach');
if ($_SERVER['HTTP_HOST'] == 'cegledcoach.hu') $sql = new sql('bcd_mysql','root','','badminton_coach');
else $sql = new sql('localhost','id9073794_tollashodos','uprRscU8bGpJ','id9073794_tollashodos');
$dev = $_SERVER['HTTP_HOST'] == 'badmintoncoach-demo.hu';
$dev = $_SERVER['HTTP_HOST'] == 'cegledcoach.hu';
$config = array();
if ($dev) {
$config['domain'] = 'badmintoncoach-demo.hu';
$config['domain'] = 'cegledcoach.hu';
}
else {
$config['domain'] = '000webhostapp.com';