Update file functions.php

This commit is contained in:
Jan BELLON 2024-03-08 17:55:40 +00:00
parent 6554056bee
commit 7cf260764e

View File

@ -14,7 +14,7 @@ if(!isset($_SESSION['theme'])) {
} }
if(isset($_GET['theme'])) { if(isset($_GET['theme'])) {
$_SESSION['theme'] = $themes[(int)$_SESSION['theme'] % 2]; $_SESSION['theme'] = $themes[(int)$_GET['theme'] % 2];
} }
function nav($nav) { function nav($nav) {