Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
6e2d48d0
Commit
6e2d48d0
authored
Sep 28, 2011
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
491e3597
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
install/dist/lib/gentoo.lib.php
install/dist/lib/gentoo.lib.php
+5
-1
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+5
-1
No files found.
install/dist/lib/gentoo.lib.php
View file @
6e2d48d0
...
...
@@ -627,7 +627,11 @@ class installer extends installer_base
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
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
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
...
...
install/lib/installer_base.lib.php
View file @
6e2d48d0
...
...
@@ -1459,7 +1459,11 @@ class installer_base {
$command
=
'adduser '
.
$conf
[
'nginx'
][
'user'
]
.
' '
.
$apps_vhost_group
;
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
);
chgrp
(
$install_dir
,
$apps_vhost_group
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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