index.php
changeset 1290 27ab1b13a783
parent 1252 e34c23a35dc9
equal deleted inserted replaced
1289:541bb25d0b22 1290:27ab1b13a783
    22 // decide on HTML compacting
    22 // decide on HTML compacting
    23 $aggressive_optimize_html = !defined('ENANO_DEBUG') && !isset($_GET['nocompress']);
    23 $aggressive_optimize_html = !defined('ENANO_DEBUG') && !isset($_GET['nocompress']);
    24 
    24 
    25 // Set up gzip encoding before any output is sent
    25 // Set up gzip encoding before any output is sent
    26 global $do_gzip;
    26 global $do_gzip;
    27 $do_gzip = !defined('ENANO_DEBUG') && getConfig('gzip_output', false) == 1 && !isset($_GET['disable_builtin_gzip']);
    27 $do_gzip = true;
    28 
    28 
    29 error_reporting(E_ALL);
    29 error_reporting(E_ALL);
    30 
    30 
    31 if($aggressive_optimize_html || $do_gzip)
    31 if($aggressive_optimize_html || $do_gzip)
    32 {
    32 {