UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Thu, 14 Jul 2016 05:12:10 +0000 (13:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Jul 2016 05:12:10 +0000 (13:12 +0800)
UpdateDatabase.php

index 01800c6..922be24 100644 (file)
@@ -401,7 +401,7 @@ class Pman_Core_UpdateDatabase extends Pman
                 while(!feof($fp)) 
                 { 
                     // send the current file part to the browser 
-                    $line = fgets($fp, 1024);
+                    $line = trim(fgets($fp, 1024));
                     echo '->>> ' .  $line . " <<<---\n";
                     echo "--";