From 1864f38189a91c3f9041d84ede84023dc0c32216 Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Sat, 13 Mar 2021 13:43:57 +0100 Subject: [PATCH] changed structure --- .gitignore | 7 +- index.php | 261 +++++++++++++------------- templates/index.tpl.html => index.tpl | 0 3 files changed, 136 insertions(+), 132 deletions(-) rename templates/index.tpl.html => index.tpl (100%) 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