Setup/Itemset

* fixed missing items in set
 * fixed php warnings during setup
 * fixed triggering scripts when changing config values
This commit is contained in:
Sarjuuk
2022-02-27 23:53:36 +01:00
parent bc71ae762c
commit 19584feab0
4 changed files with 173 additions and 213 deletions

View File

@@ -184,6 +184,9 @@ class CLI
// remove quotes (from erronous user input)
$path = str_replace(['"', "'"], ['', ''], $path);
if (!$path) // empty strings given. (faulty dbc data?)
return '';
if (DIRECTORY_SEPARATOR == '/') // *nix
{
$path = str_replace('\\', '/', $path);