Theme support part one.
This commit is contained in:
@@ -84,6 +84,8 @@ if ($index === false) {
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$light = filter_var($_GET['light'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
||||||
|
|
||||||
$total = count($sites);
|
$total = count($sites);
|
||||||
$prev = $sites[($index - 1 + $total) % $total];
|
$prev = $sites[($index - 1 + $total) % $total];
|
||||||
$next = $sites[($index + 1) % $total];
|
$next = $sites[($index + 1) % $total];
|
||||||
|
|||||||
Reference in New Issue
Block a user