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
ISPConfig
ISPConfig 3
Commits
d9c8a7c6
Commit
d9c8a7c6
authored
Nov 17, 2008
by
tbrehm
Browse files
Create the ispconfig log directory during installation.
parent
1f193f1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
d9c8a7c6
...
...
@@ -645,6 +645,9 @@ class installer_dist extends installer_base {
// exec('chmod -R 751 /usr/local/ispconfig/interface');
// exec('chmod a+rx /usr/local/ispconfig/interface/web');
//* Create the ispconfig log directory
if
(
!
is_dir
(
'/var/log/ispconfig'
))
mkdir
(
'/var/log/ispconfig'
);
}
...
...
install/dist/lib/opensuse.lib.php
View file @
d9c8a7c6
...
...
@@ -670,6 +670,9 @@ class installer_dist extends installer_base {
exec
(
'chmod -R 751 /usr/local/ispconfig/interface'
);
exec
(
'chmod a+rx /usr/local/ispconfig/interface/web'
);
//* Create the ispconfig log directory
if
(
!
is_dir
(
'/var/log/ispconfig'
))
mkdir
(
'/var/log/ispconfig'
);
}
...
...
install/lib/installer_base.lib.php
View file @
d9c8a7c6
...
...
@@ -861,6 +861,9 @@ class installer_base {
if
(
@
is_file
(
'/var/log/mail.err'
))
exec
(
'chmod +r /var/log/mail.err'
);
if
(
@
is_file
(
'/var/log/messages'
))
exec
(
'chmod +r /var/log/messages'
);
//* Create the ispconfig log directory
if
(
!
is_dir
(
'/var/log/ispconfig'
))
mkdir
(
'/var/log/ispconfig'
);
}
...
...
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