Update 1.4

This commit is contained in:
cbo 2024-03-18 09:11:36 +00:00
parent fa1b96cd8c
commit 4000a7bc1f

View File

@ -8,7 +8,7 @@ if (!isset($_SESSION['userAccreditation']) || !isset($_SESSION['userRole'])) {
}
if (!isset($_COOKIE['theme'])) {
$theme = random_int(0, 2);
$theme = random_int(0, 3);
setcookie('theme', $theme, time()+10*60*60, "/", ".e59.fr");
$darkTheme = $darkThemes[$theme];
$lightTheme = $lightThemes[$theme];