* * BSD 3-Clause License (BSD-3-Clause) * See LICENSE for details */ $root = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST']; require "config.php"; if(empty($manbin) || empty($manpath)) exit("ERROR: Unconfigured backend!"); require "$manpath/archs.php"; $action = trim($_GET['action'] ?? null); $query = trim($_GET['query'] ?? null); $section = trim($_GET['section'] ?? null); $arch = trim($_GET['arch'] ?? null); $hsc_flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401; /* function dbg_print($data) { $output = $data; if(is_array($output)) $output = implode(',', $output); echo ""; } */ ?>