Files
iblogs/src/Frontend/Action/NotFoundAction.php
Sam Kintop bf3870ccca
Some checks failed
Publish Docker Image / build-and-push (push) Failing after 2m13s
all
2026-04-30 09:44:02 -05:00

15 lines
282 B
PHP

<?php
namespace Aternos\Mclogs\Frontend\Action;
use Aternos\Mclogs\Router\Action;
class NotFoundAction extends Action
{
public function run(): bool
{
http_response_code(404);
require __DIR__ . "/../../../web/frontend/404.php";
return true;
}
}