Update file functions.php
This commit is contained in:
parent
e4ee00f822
commit
3b716f1fce
@ -10,7 +10,7 @@ if(!isset($_SESSION['role'])) {
|
||||
}
|
||||
|
||||
if(isset($_GET['theme'])) {
|
||||
setcookie('theme', (int)$_GET['theme'] % 3, time()+10*60*60);
|
||||
setcookie('theme', (int)$_GET['theme'] % 2, time()+10*60*60);
|
||||
}
|
||||
|
||||
$theme = $themes[$_COOKIE['theme']];
|
||||
|
Loading…
x
Reference in New Issue
Block a user