This commit is contained in:
Ricsi
2016-11-24 19:25:08 +01:00
15 changed files with 56 additions and 86 deletions

View File

@@ -30,7 +30,7 @@ spl_autoload_register(function ($class_name) {
});
//SMARTY BEÁLLÍTÁSA
require('../Smarty/Smarty.class.php');
require('Smarty/Smarty.class.php');
$smarty = new Smarty();
@@ -40,7 +40,7 @@ $smarty->setCacheDir('template/cache');
$smarty->setConfigDir('template/configs');
//SQL KAPCSOLAT BEÁLLÍTÁSA
$sql = new sql('localhost','root','','badminton_coach');
$sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
//var_dump($sql);