diff options
author | dweller <dweller@cabin.digital> | 2024-02-27 20:48:15 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-02-27 20:48:15 +0200 |
commit | 2a66021e508fe2ff6912e6e6578eaf035e1ffdd8 (patch) | |
tree | 6a2066ac5a617ef3b02798e1e27d89d5368889fb /common.php | |
parent | cd0894ddefbc9c0be2d59b9160fc911e16b67bd2 (diff) |
add section and arch dropdowns, wow that was a pain
Diffstat (limited to 'common.php')
-rw-r--r-- | common.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); /* |