Plugin system update

This commit is contained in:
bergware
2022-06-24 17:36:03 +02:00
parent 9972549fa5
commit 77d3667a5a
5 changed files with 5 additions and 5 deletions
@@ -20,7 +20,7 @@ $_SESSION['locale'] = $display['locale'];
require_once "$docroot/webGui/include/Translations.php";
$file = realpath($argv[1] ?? '');
$console = empty($argv[2]) && $argv[2]!='nchan';
$console = !(isset($argv[2]) && $argv[2]=='nchan');
$valid = ['/var/tmp/','/tmp/plugins/'];
$good = false;