Commit 627993f0 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1934 - CentOS 6.1: cgi-bin: wrong folder permissions

- Set error reporting level in app inc.
parent d860c921
......@@ -33,7 +33,7 @@ ob_start('ob_gzhandler');
//* Set error reporting level when we are not on a developer system
if(DEVSYSTEM == 0) {
@ini_set('error_reporting', E_ALL & ~E_NOTICE);
@ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_DEPRECATED);
}
/*
......
......@@ -586,7 +586,7 @@ class apache2_plugin {
//* add the Apache user to the client group
$app->system->add_user_to_group($groupname, escapeshellcmd($web_config['user']));
$this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root']));
$this->_exec('chown -R '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root']));
/*
* Workaround for jailkit: If jailkit is enabled for the site, the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment