give access to texts

This commit is contained in:
isUnknown 2025-02-05 15:02:44 +01:00
parent 9b9e5a2ef7
commit 04b04ccf6a
7 changed files with 31 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<?php
if(!$kirby->user() && ($page->template() == 'linear' || $page->template() == 'grid')) {
go($site->errorPage()->url());
go('/a-venir');
}
$entryTopPos ??= 20;