Update 1.4
This commit is contained in:
parent
a1484ba8c6
commit
8126e99fb3
@ -16,7 +16,7 @@ if (!isset($_COOKIE['theme'])) {
|
|||||||
|
|
||||||
if (isset($_GET['theme'])) {
|
if (isset($_GET['theme'])) {
|
||||||
$newTheme = (int)$_GET['theme'] % 3;
|
$newTheme = (int)$_GET['theme'] % 3;
|
||||||
setcookie('theme', $newTheme, time()+10*60*60, "/", ".e59.fr"); // % 2 => Number of different themes
|
setcookie('theme', $newTheme, time()+10*60*60, "/", ".e59.fr"); // % 3 => Number of different themes
|
||||||
$darkTheme = $darkThemes[$newTheme];
|
$darkTheme = $darkThemes[$newTheme];
|
||||||
$lightTHeme = $lightThemes[$newTheme];
|
$lightTHeme = $lightThemes[$newTheme];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user