remove old files in updater; avoid including old cli files in froxlor-cli; fix css for card list-groups

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-12-05 10:22:12 +01:00
parent 5c06683e27
commit 02ae52e3df
6 changed files with 79 additions and 6 deletions

View File

@@ -43,7 +43,19 @@ require dirname(__DIR__) . '/lib/tables.inc.php';
$application = new Application('froxlor-cli', Froxlor::getFullVersion());
// files that are no commands
$fileIgnoreList = ['CliCommand.php', 'index.html', 'install.functions.php'];
$fileIgnoreList = [
// Current non-command files
'CliCommand.php',
'index.html',
'install.functions.php',
// older files not used anymore (should be removed by the updater), but take care of it just in case
'Action.php',
'CmdLineHandler.php',
'ConfigServicesCmd.php',
'PhpSessioncleanCmd.php',
'SwitchServerIpCmd.php',
'UpdateCliCmd.php',
];
// directory of commands to include
$cmd_files = glob(Froxlor::getInstallDir() . '/lib/Froxlor/Cli/*.php');