1
0
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:
Cameron
2016-03-19 17:14:22 -07:00
parent 9c50d76b62
commit 220d258915
3 changed files with 113 additions and 31 deletions

View File

@@ -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;