remove php's safe_mode as it is deprecated since php-5.3 and removed since php-5.4

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-03-15 09:34:41 +01:00
parent cbc745ff72
commit 74c5d0718c
20 changed files with 7 additions and 71 deletions

View File

@@ -283,7 +283,6 @@ class apache
'mod_fcgid_maxrequests' => -1,
'guid' => $this->settings['phpfpm']['vhost_httpuser'],
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath,
@@ -425,15 +424,6 @@ class apache
$php_options_text.= ' php_admin_value open_basedir "' . $_phpappendopenbasedir . '"'."\n";
}
if($domain['safemode'] == '0')
{
$php_options_text.= ' php_admin_flag safe_mode Off ' . "\n";
}
else
{
$php_options_text.= ' php_admin_flag safe_mode On ' . "\n";
}
}
else
{