add missing validator-parameters for setting-formfields
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -38,5 +38,6 @@ function makeSecurePath($path)
|
||||
''
|
||||
);
|
||||
$path = preg_replace($search, $replace, $path);
|
||||
$path = str_replace(" ", "\ ", $path);
|
||||
return $path;
|
||||
}
|
||||
|
||||
@@ -55,6 +55,7 @@ function storeDefaultIndex($loginname = null, $destination = null, $logger = nul
|
||||
}
|
||||
else
|
||||
{
|
||||
$destination = makeCorrectDir($destination);
|
||||
if ($logger !== null) {
|
||||
$logger->logAction(CRON_ACTION, LOG_NOTICE, 'Running: cp -a ' . $pathtophpfiles . '/templates/misc/standardcustomer/* ' . escapeshellarg($destination));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user