Update file functions.php

This commit is contained in:
Jan BELLON 2024-03-08 21:37:04 +00:00
parent e4ee00f822
commit 3b716f1fce

View File

@ -10,7 +10,7 @@ if(!isset($_SESSION['role'])) {
}
if(isset($_GET['theme'])) {
setcookie('theme', (int)$_GET['theme'] % 3, time()+10*60*60);
setcookie('theme', (int)$_GET['theme'] % 2, time()+10*60*60);
}
$theme = $themes[$_COOKIE['theme']];