add missing validator-parameters for setting-formfields

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2011-03-11 12:56:41 +01:00
parent ee8115cbe9
commit 20b2b1c399
5 changed files with 5 additions and 0 deletions

View File

@@ -38,5 +38,6 @@ function makeSecurePath($path)
''
);
$path = preg_replace($search, $replace, $path);
$path = str_replace(" ", "\ ", $path);
return $path;
}

View File

@@ -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));
}