18 lines
769 B
PHP
18 lines
769 B
PHP
<?php
|
|
/*
|
|
* SvxPortal — web front-end for SvxReflector
|
|
* Copyright (C) 2026 SA7AUX (Björn)
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify it under
|
|
* the terms of the GNU Affero General Public License as published by the Free
|
|
* Software Foundation, either version 3 of the License, or (at your option) any
|
|
* later version. See the LICENSE file for details.
|
|
*/
|
|
declare(strict_types=1);
|
|
// shell.php — shared PHP helper for every web (dmr-web, svx-web, svxlink-web).
|
|
// Canonical copy: callmgr2/www-mumien/auth/lib/shell.php; other repos carry a COPY.
|
|
|
|
// Shell-argument quoting for the few pages that run local helpers.
|
|
function sh_arg($v): string { return escapeshellarg((string)$v); }
|