Update file functions.php
This commit is contained in:
parent
20bbdac5c4
commit
0c7cf2c836
@ -9,7 +9,11 @@ if(!isset($_SESSION['role'])) {
|
||||
$_SESSION['role'] = 0;
|
||||
}
|
||||
|
||||
$theme = isset($_GET['theme']) ? $themes[$_GET['theme']] : $themes[0];
|
||||
if(isset($_GET['theme'])) {
|
||||
$_SESSION['theme'] = (int)$_GET['theme'] % 2;
|
||||
}
|
||||
|
||||
$theme = $themes[$_SESSION['theme']];
|
||||
|
||||
|
||||
function nav($nav) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user