mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Issue #1430 Fixed gzip encoding issue
This commit is contained in:
@@ -380,14 +380,22 @@ $e107->destruct();
|
||||
//
|
||||
// I Send the buffered page data, along with appropriate headers
|
||||
//
|
||||
$page = ob_get_clean();
|
||||
//$length = ob_get_length();
|
||||
//$page = ob_get_clean();
|
||||
|
||||
|
||||
|
||||
// New - see class2.php
|
||||
$ehd = new e_http_header;
|
||||
$ehd->setContent($page);
|
||||
$ehd->setContent('buffer');
|
||||
$ehd->send();
|
||||
// $ehd->debug();
|
||||
|
||||
$page = $ehd->getOutput();
|
||||
//$ehd->setContent($page);
|
||||
//$ehd->send($length);
|
||||
|
||||
|
||||
// real output
|
||||
echo $page;
|
||||
|
||||
|
Reference in New Issue
Block a user