From 4000a7bc1f6c4e6b643921c975bf23464d574083 Mon Sep 17 00:00:00 2001 From: cbo Date: Mon, 18 Mar 2024 09:11:36 +0000 Subject: [PATCH] Update 1.4 --- include/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/init.php b/include/init.php index a88b2305..50bb44a4 100755 --- a/include/init.php +++ b/include/init.php @@ -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];