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