Update color scheme url

This commit is contained in:
Knah Tsaeb 2024-12-05 16:13:00 +01:00
parent 2d27370670
commit 0420cec1d8
2 changed files with 1 additions and 4 deletions

View file

@ -8,8 +8,6 @@ require_once '../vendor/autoload.php';
use App\Router; use App\Router;
use App\Cache; use App\Cache;
use App\Utils\Config; use App\Utils\Config;
use App\Utils\Debug;
$config = Config::loadConfig(); $config = Config::loadConfig();
@ -46,7 +44,6 @@ if (isset($match['params']['extraParams']['live']) && $match['params']['extraPar
$match['params']['config']['useCache'] = $config['useCache'] = false; $match['params']['config']['useCache'] = $config['useCache'] = false;
} }
if ($match) { if ($match) {
if (Cache::isCache($match['params']) && Cache::isValidPage($match['params']) && Cache::isValidConfig() && $config['useCache'] === true) { if (Cache::isCache($match['params']) && Cache::isValidPage($match['params']) && Cache::isValidConfig() && $config['useCache'] === true) {
$gen = Cache::getCache($match['params']['cacheName'], $match['params']['type']); $gen = Cache::getCache($match['params']['cacheName'], $match['params']['type']);

View file

@ -24,7 +24,7 @@
<link rel="author" href="humans.txt"> <link rel="author" href="humans.txt">
<link rel="stylesheet" href="http://kt-theme.local/kt-scheme.css"> <link rel="stylesheet" href="https://theme.knah-tsaeb.org/kt-scheme.css">
<?php if ($params[0]['config']['debug'] === true): ?> <?php if ($params[0]['config']['debug'] === true): ?>
<link rel="stylesheet" href="../../assets/css/app.css?t=<?= time(); ?>"> <link rel="stylesheet" href="../../assets/css/app.css?t=<?= time(); ?>">