1
0
This commit is contained in:
2026-02-04 23:31:53 +01:00
commit cd59ccd99b
2401 changed files with 56808 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
use MintyPHP\Support\Guard;
use MintyPHP\Buffer;
Guard::requireLogin();
$slug = trim((string) ($slug ?? ''));
if ($slug === '') {
require __DIR__ . '/index().php';
return;
}
http_response_code(404);
Buffer::set('title', t('Page not found'));
$notFound = true;