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
lolo888
ISPConfig 3
Commits
196c29c2
Commit
196c29c2
authored
May 25, 2010
by
vogelor
Browse files
installer: suppressed a warning, if the log-rotation-file is created the first time
parent
76d6e96b
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
196c29c2
...
...
@@ -1413,7 +1413,7 @@ class installer_base {
//* Add Log-Rotation
if
(
is_dir
(
'/etc/logrotate.d'
))
{
unlink
(
'/etc/logrotate.d/logispc3'
);
@
unlink
(
'/etc/logrotate.d/logispc3'
);
// ignore, if the file is not there
$fh
=
fopen
(
'/etc/logrotate.d/logispc3'
,
'w'
);
fwrite
(
$fh
,
"/var/log/ispconfig/ispconfig.log {
\n
"
.
...
...
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