From 2a66021e508fe2ff6912e6e6578eaf035e1ffdd8 Mon Sep 17 00:00:00 2001 From: dweller Date: Tue, 27 Feb 2024 20:48:15 +0200 Subject: add section and arch dropdowns, wow that was a pain --- common.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common.php') diff --git a/common.php b/common.php index 370141d..b9bc1d4 100644 --- a/common.php +++ b/common.php @@ -8,11 +8,14 @@ $root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST']; - $manpath = "/usr/share/man"; + $manpath = "/home/dwlr/nfs_red/deb_man/mans/bookworm/man"; + require "$manpath/archs.php"; + $action = trim($_GET['action'] ?? null); $query = trim($_GET['query'] ?? null); $section = trim($_GET['section'] ?? null); + $arch = trim($_GET['arch'] ?? null); /* -- cgit v1.2.3