X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Finstall-functions.php;h=5f027b3f7e1bf44e9e349f585a808337f2c0778f;hp=4222ee2e9570c99cad783211bf9a7addb50a29f3;hb=87229cb5d7b5396793e85fd0b4172d473195835c;hpb=a00ad7dd8c36a5322e28f38d8d641efb90c00c92 diff --git a/inc/install-functions.php b/inc/install-functions.php index 4222ee2e95..5f027b3f7e 100644 --- a/inc/install-functions.php +++ b/inc/install-functions.php @@ -164,8 +164,7 @@ function readSqlDump ($FQFN) { $content = readFromFile($FQFN); // Remove some unwanted chars - $content = str_replace(chr(13), '', $content); - $content = str_replace(PHP_EOL . PHP_EOL, PHP_EOL, $content); + $content = str_replace(array(chr(13), PHP_EOL . PHP_EOL), array('', PHP_EOL), $content); // Return the content return $content;