Fixed issue with bogus empty lines after closing php tag.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2889 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2009-05-24 10:00:20 +00:00
parent 6d19aa8742
commit c652b358d7
17 changed files with 1 additions and 33 deletions

View File

@ -820,5 +820,3 @@ $OLANG = array(
);
?>

View File

@ -815,4 +815,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -817,5 +817,3 @@ $OLANG = array(
);
?>

View File

@ -669,5 +669,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -824,6 +824,3 @@ $OLANG = array(
);
?>

View File

@ -821,5 +821,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -756,5 +756,3 @@ $OLANG = array(
);
?>

View File

@ -1250,5 +1250,3 @@ $OLANG = array(
//
);
?>

View File

@ -815,5 +815,3 @@ $OLANG = array(
);
?>

View File

@ -816,5 +816,3 @@ $OLANG = array(
);
?>

View File

@ -98,7 +98,7 @@ foreach ( $files as $file )
}
}
ksort( $assocTerms, SORT_STRING );
$newCode = $fileParts[1].join( "\n", array_values($assocTerms) )."\n".$fileParts[3]."\n";
$newCode = $fileParts[1].join( "\n", array_values($assocTerms) )."\n".rtrim($fileParts[3])."\n";
if ( $fp = fopen( $newFile, "w" ) )
{
fwrite( $fp, $newCode );