* * BSD 3-Clause License (BSD-3-Clause) * See LICENSE for details */ $root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST']; $manpath = "/usr/share/man"; $action = trim(urldecode($_GET['action'] ?? null)); $query = trim(urldecode($_GET['query'] ?? null)); $section = trim(urldecode($_GET['section'] ?? null)); ?>