Update 1.4
This commit is contained in:
parent
fa1b96cd8c
commit
4000a7bc1f
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user