tbrehm
2009-02-12 9e2319d007cb13739747b2ad3b38cdbe511e5bf7
install/lib/install.lib.php
@@ -530,6 +530,9 @@
         }
      }
      if($found == 0) {
         //* add \n if the last line does not end with \n or \r
         if(substr($out,-1) != "\n" && substr($out,-1) != "\r") $out .= "\n";
         //* add the new line at the end of the file
         $out .= $new_line."\n";
      }
      file_put_contents($filename,$out);