docker #1
This commit is contained in:
@@ -25,7 +25,8 @@ spl_autoload_register(function ($class_name) {
|
||||
'Smarty_Internal_Extension_CodeFrame',
|
||||
'Smarty_Internal_CompileBase',
|
||||
'Smarty_Undefined_Variable',
|
||||
'Smarty_Internal_ParseTree_DqContent'
|
||||
'Smarty_Internal_ParseTree_DqContent',
|
||||
'Smarty_Internal_ParseTree_Dq'
|
||||
|
||||
);
|
||||
if (!in_array($class_name, $exception)) include '_class/class_' . $class_name . '.php';
|
||||
@@ -73,7 +74,7 @@ $smarty->assign('days', $days);
|
||||
$smarty->assign('today', date('Y-m-d'));
|
||||
|
||||
//SQL KAPCSOLAT BEÁLLÍTÁSA
|
||||
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('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
|
||||
|
||||
//var_dump($sql);
|
||||
|
||||
Reference in New Issue
Block a user