index.php
changeset 1301 bd9e124f5904
parent 1290 27ab1b13a783
equal deleted inserted replaced
1300:1f97ee3ec614 1301:bd9e124f5904
    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 {