clients: Implement directory listing for sync

This commit is contained in:
2024-04-15 15:22:48 +02:00
parent 90219e16f0
commit 2ddeaf1bfa
2 changed files with 88 additions and 3 deletions

View File

@ -32,7 +32,7 @@ global $getVers;
$getProd = null;
$getVers = null;
$info = explode('/', $_SERVER['PATH_INFO']);
if (sizeof($info) > 0 && ($info[1] === 'elwig' || $info[1] === 'winziprint')) {
if (sizeof($info) > 1 && ($info[1] === 'elwig' || $info[1] === 'winziprint')) {
$getProd = $info[1];
$getVers = $info[2];
if (sizeof($info) > 3) {