Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
6e2d48d0
Commit
6e2d48d0
authored
Sep 28, 2011
by
Falko Timme
Browse files
No commit message
No commit message
parent
491e3597
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/gentoo.lib.php
View file @
6e2d48d0
...
@@ -627,7 +627,11 @@ class installer extends installer_base
...
@@ -627,7 +627,11 @@ class installer extends installer_base
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
if
(
!@
is_dir
(
$install_dir
))
mkdir
(
$install_dir
,
0755
,
true
);
if
(
!@
is_dir
(
$install_dir
)){
mkdir
(
$install_dir
,
0755
,
true
);
}
else
{
chmod
(
$install_dir
,
0755
);
}
chown
(
$install_dir
,
$apps_vhost_user
);
chown
(
$install_dir
,
$apps_vhost_user
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
...
...
install/lib/installer_base.lib.php
View file @
6e2d48d0
...
@@ -1459,7 +1459,11 @@ class installer_base {
...
@@ -1459,7 +1459,11 @@ class installer_base {
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
if
(
!@
is_dir
(
$install_dir
))
mkdir
(
$install_dir
,
0755
,
true
);
if
(
!@
is_dir
(
$install_dir
)){
mkdir
(
$install_dir
,
0755
,
true
);
}
else
{
chmod
(
$install_dir
,
0755
);
}
chown
(
$install_dir
,
$apps_vhost_user
);
chown
(
$install_dir
,
$apps_vhost_user
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
...
...
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