This commit is contained in:
isUnknown 2025-01-26 13:11:06 +01:00
parent aea050f6cc
commit b1418ef194
2 changed files with 17 additions and 1 deletions

View file

@ -1,5 +1,19 @@
<?php
$entryTopPos = $entryTopPos ?? 20;
$kirby = kirby();
$site = site();
$openPageURIS = [
"home",
"a-propos",
"inscription"
];
if (!$kirby->user() && (!in_array($page->uri(), $openPageURIS))) {
go($site->panel()->url());
}
?>
<!DOCTYPE html>
<html lang="en">