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

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