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];