fix command for creating deactivated-root-dir, thx to oschni

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-08-05 18:12:35 +02:00
parent 80a2b5da34
commit ce88d1caae
6 changed files with 6 additions and 10 deletions

View File

@@ -39,8 +39,6 @@ return array(
'http' => array(
'label' => $lng['admin']['configfiles']['http'],
'daemons' => array(
// Begin: Nginx Config
'nginx' => array(
'label' => 'Nginx Webserver',
'commands_1' => array(
@@ -58,7 +56,7 @@ return array(
'commands_2' => array(
$configcommand['vhost'],
$configcommand['diroptions'],
(Settings::Get('system.deactivateddocroot') != '') ? 'mkdir -p '. Settings::Get('system.deactivateddocroot') : null,
(Settings::Get('system.deactivateddocroot') != '') ? 'mkdir -p ' . Settings::Get('system.deactivateddocroot') : '',
'mkdir -p '. Settings::Get('system.documentroot_prefix'),
'mkdir -p '. Settings::Get('system.mod_fcgid_tmpdir'),
'mkdir -p '. Settings::Get('system.logfiles_directory'),
@@ -71,8 +69,6 @@ return array(
'/usr/local/etc/rc.d/nginx restart'
)
),
// End: Nginx Config
'apache2' => array(
'label' => 'Apache2 Webserver',
'commands' => array(