From 0a753381463e69f9a6c21336de6191dd55d11c75 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 18 Apr 2025 14:21:37 -0400 Subject: errorrrrrr --- src/web/_controller/error.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/web/_controller/error.php') diff --git a/src/web/_controller/error.php b/src/web/_controller/error.php index 4195531..9efbb7e 100644 --- a/src/web/_controller/error.php +++ b/src/web/_controller/error.php @@ -10,6 +10,11 @@ class Error_controller extends Controller { public function code(int $code): void { + // funny 451 change + if ($code == 404 && rand(0, 100) > 95) { + $code = 451; + } + parent::index(); $this->load_lang('error'); -- cgit v1.2.3-freya