diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 304661e..1408ace 100644 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -18,8 +18,9 @@ error_reporting(-1); ini_set('log_errors', 1); ini_set('error_log', ROOT .'errors.log'); -// Start output buffering -ob_start(); +// Start output buffering with gzip and no gzip fallback +if(!ob_start('ob_gzhandler')) + ob_start(); // Include Configuration require_once ROOT .'_sakura/config/config.php'; diff --git a/main/imageserve.php b/main/imageserve.php index 77642ed..9396fd5 100644 --- a/main/imageserve.php +++ b/main/imageserve.php @@ -1,57 +1,57 @@ -