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
lolo888
ISPConfig 3
Commits
4a6aedd1
Commit
4a6aedd1
authored
Aug 13, 2010
by
jwarnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
132e0594
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+3
-3
server/plugins-available/cron_plugin.inc.php
server/plugins-available/cron_plugin.inc.php
+2
-2
No files found.
server/plugins-available/apache2_plugin.inc.php
View file @
4a6aedd1
...
...
@@ -489,7 +489,7 @@ class apache2_plugin {
$this
->
_exec
(
"chmod 751 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/*"
);
$this
->
_exec
(
"chmod 710 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/web"
));
// make temp direcory writable for the apache
user and the
website user
// make temp direc
t
ory writable for the apache
and
website user
s
$this
->
_exec
(
"chmod 777 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/tmp"
));
$command
=
'usermod'
;
...
...
@@ -534,7 +534,7 @@ class apache2_plugin {
$this
->
_exec
(
"chmod 755 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/*"
));
$this
->
_exec
(
"chown root:root "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/"
));
// make temp direcory writable for the apache
user and the
website user
// make temp direc
t
ory writable for the apache
and
website user
s
$this
->
_exec
(
"chmod 777 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/tmp"
));
}
...
...
@@ -1325,4 +1325,4 @@ class apache2_plugin {
}
// end class
?>
\ No newline at end of file
?>
server/plugins-available/cron_plugin.inc.php
View file @
4a6aedd1
...
...
@@ -133,7 +133,7 @@ class cron_plugin {
exec
(
"setquota -T -u
$username
604800 604800 -a &> /dev/null"
);
}
// make temp direcory writable for the apache
user and the
website user
// make temp direc
t
ory writable for the apache
and
website user
s
exec
(
"chmod 777 "
.
escapeshellcmd
(
$parent_domain
[
"document_root"
]
.
"/tmp"
));
/** TODO READ CRON MASTER **/
...
...
@@ -236,4 +236,4 @@ class cron_plugin {
}
// end class
?>
\ No newline at end of file
?>
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