blob: 1f6e51c134c10780226327a399cdf7fb1d037a59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
/*
* Copyright (C) 2024 dwlr <dweller@cabin.digital>
*
* 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));
?>
|