diff --git a/.gitignore b/.gitignore index ab5dcb9..1ddfe3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,9 @@ +favicon.ico +/stats/ +/error/ +robots.txt + composer.phar /vendor/ /web/ -/templates_c/*.php \ No newline at end of file +/templates_c/*.php diff --git a/index.php b/index.php index 29eb421..7098dc1 100644 --- a/index.php +++ b/index.php @@ -1,162 +1,161 @@ template_dir = './/templates/'; -$oSmarty->compile_dir = './templates_c/'; $oSmarty->assign('GET', $_GET); if(isset($results)) $oSmarty->assign('results', $results); echo (microtime()); -$oSmarty->display('index.tpl.html'); +$oSmarty->display('index.tpl'); diff --git a/templates/index.tpl.html b/index.tpl similarity index 100% rename from templates/index.tpl.html rename to index.tpl