Make sure htaccess marker begins on a new line. Props johnbillion. fixes #7203
git-svn-id: http://svn.automattic.com/wordpress/trunk@8236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
93bccf8773
commit
0e91869c14
|
@ -67,7 +67,7 @@ function insert_with_markers( $filename, $marker, $insertion ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$foundit) {
|
if (!$foundit) {
|
||||||
fwrite( $f, "# BEGIN {$marker}\n" );
|
fwrite( $f, "\n# BEGIN {$marker}\n" );
|
||||||
foreach ( $insertion as $insertline )
|
foreach ( $insertion as $insertline )
|
||||||
fwrite( $f, "{$insertline}\n" );
|
fwrite( $f, "{$insertline}\n" );
|
||||||
fwrite( $f, "# END {$marker}\n" );
|
fwrite( $f, "# END {$marker}\n" );
|
||||||
|
|
Loading…
Reference in New Issue