diff --git a/public/index.php b/public/index.php index 424cffa..e16a76f 100644 --- a/public/index.php +++ b/public/index.php @@ -8,8 +8,6 @@ require_once '../vendor/autoload.php'; use App\Router; use App\Cache; use App\Utils\Config; -use App\Utils\Debug; - $config = Config::loadConfig(); @@ -46,7 +44,6 @@ if (isset($match['params']['extraParams']['live']) && $match['params']['extraPar $match['params']['config']['useCache'] = $config['useCache'] = false; } - if ($match) { if (Cache::isCache($match['params']) && Cache::isValidPage($match['params']) && Cache::isValidConfig() && $config['useCache'] === true) { $gen = Cache::getCache($match['params']['cacheName'], $match['params']['type']); diff --git a/template/head.php b/template/head.php index 10b1792..14cac8b 100644 --- a/template/head.php +++ b/template/head.php @@ -24,7 +24,7 @@ - +