summaryrefslogtreecommitdiff
path: root/src/web/lib/hooks.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-02-26 23:21:06 -0500
committerFreya Murphy <freya@freyacat.org>2026-02-26 23:25:26 -0500
commit106cebec65e8b6a623bec2fff29a87c2932fa4dc (patch)
tree8c38145d998509046c35f122f8f184ca0d7cdee5 /src/web/lib/hooks.php
parentmake the header logo a clickable link to home (diff)
downloadwebsite-106cebec65e8b6a623bec2fff29a87c2932fa4dc.tar.gz
website-106cebec65e8b6a623bec2fff29a87c2932fa4dc.tar.bz2
website-106cebec65e8b6a623bec2fff29a87c2932fa4dc.zip
update css to not using box-sizing
Diffstat (limited to '')
-rw-r--r--src/web/lib/hooks.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/web/lib/hooks.php b/src/web/lib/hooks.php
index a688069..70853e1 100644
--- a/src/web/lib/hooks.php
+++ b/src/web/lib/hooks.php
@@ -1,20 +1,6 @@
<?php /* Copyright (c) 2024 Freya Murphy */
-function load_htc(string $file) {
- $file_path = PUBLIC_ROOT . '/polyfills/' . $file;
- if (!file_exists($file_path))
- return;
-
- header('Content-type: text/x-component');
- include($file_path);
- CRIMSON_DIE();
-}
-
function CRIMSON_pre_route_hook(Router $router): void {
- $uri_str = ROUTER->req['uri_str'] ?? '';
- $file = basename($uri_str);
- if (str_ends_with($file, '.htc'))
- load_htc($file);
}
function CRIMSON_error_hook(?array $req, int $code): never {