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
{

View File

@@ -134,7 +134,6 @@ class apache_fcgid extends apache
'mod_fcgid_maxrequests' => -1,
'guid' => $user,
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath

View File

@@ -164,7 +164,6 @@ class lighttpd
'mod_fcgid_maxrequests' => -1,
'guid' => $this->settings['phpfpm']['vhost_httpuser'],
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath

View File

@@ -135,7 +135,6 @@ class lighttpd_fcgid extends lighttpd
'mod_fcgid_maxrequests' => -1,
'guid' => $user,
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath

View File

@@ -265,7 +265,6 @@ class nginx
'mod_fcgid_maxrequests' => -1,
'guid' => $this->settings['phpfpm']['vhost_httpuser'],
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath,

View File

@@ -82,7 +82,6 @@ class nginx_phpfpm extends nginx
'mod_fcgid_maxrequests' => -1,
'guid' => $user,
'openbasedir' => 0,
'safemode' => '0',
'email' => $this->settings['panel']['adminmail'],
'loginname' => 'froxlor.panel',
'documentroot' => $mypath