From 289f4094054e99c4b015dad3342e36173a3be1eb Mon Sep 17 00:00:00 2001 From: Ricsi Date: Fri, 25 Nov 2016 22:07:48 +0100 Subject: [PATCH] responsive nav --- .htaccess | 1 + _ajax/update_presence.php | 2 +- common.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 5634439..cf39483 100644 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,7 @@ RewriteEngine On RewriteBase / +RewriteRule ^\/?(_css\/)([a-zA-Z0-9_]+)\.css$ _css/$2.css [NC] RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L] diff --git a/_ajax/update_presence.php b/_ajax/update_presence.php index 6606882..3536a4b 100755 --- a/_ajax/update_presence.php +++ b/_ajax/update_presence.php @@ -1,7 +1,7 @@ $value) { trigger_error($key . " : " . $value, E_USER_NOTICE); diff --git a/common.php b/common.php index 6a97e86..382861b 100755 --- a/common.php +++ b/common.php @@ -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','tollashodos','uprRscU8bGpJ','tollashodos'); +$sql = new sql('localhost','root','','badminton_coach'); //var_dump($sql);