From 69e9582e90977fc9ab3c5a237157ccd7a65eec3e Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 1 Apr 2015 17:30:18 +0200 Subject: [PATCH] gzup --- _sakura/sakura.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 896bdf9..dfe9616 100644 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -10,8 +10,9 @@ namespace Sakura; // Error Reporting: 0 for production and -1 for testing error_reporting(-1); -// Start output buffering -ob_start(); +// Start output buffering with gzip and no gzip fallback +if(!ob_start('ob_gzhandler')) + ob_start(); // Define Sakura version define('SAKURA_VERSION', '20150330');