Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
627993f0
Commit
627993f0
authored
Dec 29, 2011
by
tbrehm
Browse files
Fixed: FS#1934 - CentOS 6.1: cgi-bin: wrong folder permissions
- Set error reporting level in app inc.
parent
d860c921
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/app.inc.php
View file @
627993f0
...
...
@@ -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
);
}
/*
...
...
server/plugins-available/apache2_plugin.inc.php
View file @
627993f0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment