summaryrefslogtreecommitdiff
path: root/common.php
diff options
context:
space:
mode:
authordweller <dweller@cabin.digital>2024-02-27 20:48:15 +0200
committerdweller <dweller@cabin.digital>2024-02-27 20:48:15 +0200
commit2a66021e508fe2ff6912e6e6578eaf035e1ffdd8 (patch)
tree6a2066ac5a617ef3b02798e1e27d89d5368889fb /common.php
parentcd0894ddefbc9c0be2d59b9160fc911e16b67bd2 (diff)
add section and arch dropdowns, wow that was a pain
Diffstat (limited to '')
-rw-r--r--common.php5
1 files changed, 4 insertions, 1 deletions
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);
/*