From dc28ee4954e69e770e1c8bc70ada4b75761ff52e Mon Sep 17 00:00:00 2001 From: ngleader Date: Tue, 11 May 2010 12:11:50 +0000 Subject: [PATCH] r7442 fixed git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7443 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/script.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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'){