- check for 'chattr' command, and use 'chflags' (FreeBSD) if not found, fixes #339

- add license-header to function.storeDefaultIndex.php
This commit is contained in:
Michael Kaufmann (d00p)
2010-08-10 07:57:48 +00:00
parent 91c1928309
commit 4b84d978d1
6 changed files with 90 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ function safe_exec($exec_string, &$return_value = false)
'du',
'chmod',
'chattr',
'chflags', /* freebsd equivalent to linux' chattr */
$settings['system']['apachereload_command'],
$settings['system']['bindreload_command'],
$settings['dkim']['dkimrestart_command'],