vogelor
2010-05-25 196c29c28dae504277c93af9e9a341ecec26baa3
installer: suppressed a warning, if the log-rotation-file is created the first time
1 files modified
2 ■■■ changed files
install/lib/installer_base.lib.php 2 ●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -1413,7 +1413,7 @@
        //* 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" .