Till Brehm
2014-02-16 d78ed105069455bdf43a8d6f4f4ecc99152c55ec
Fixed: FS#2912 - /etc/suphp/suphp.conf fills with double lines on each update
1 files modified
5 ■■■■■ changed files
install/lib/install.lib.php 5 ●●●●● patch | view | raw | blame | history
install/lib/install.lib.php
@@ -637,6 +637,11 @@
                    $out .= $line;
                }
            }
            if (!$found) {
                if (trim($line) == $new_line) {
                    $found = 1;
                }
            }
        }
        if($found == 0) {
            //* add \n if the last line does not end with \n or \r