diff --git a/common/script.php b/common/script.php index f82643f7d..b3c9e43e0 100644 --- a/common/script.php +++ b/common/script.php @@ -74,15 +74,11 @@ function printFileList($list){ for($i=0,$c=count($list);$i<$c;$i++){ $file = getRealPath($list[$i]); if(file_exists($file)){ - //$f = fopen($file,"r"); - //fpassthru($f); - $output .= file_get_contents($file); - $output .= "\n"; - //print("\n"); + readfile($file); + flush(); + echo "\n"; } } - header("Content-Encoding: gzip"); - print ob_gzhandler($output, 5); } if($type == '.css'){