equal
deleted
inserted
replaced
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 // FIXME: make this configurable |
27 $do_gzip = !defined('ENANO_DEBUG') && getConfig('gzip_output', false) == 1 && !isset($_GET['disable_builtin_gzip']); |
28 $do_gzip = !defined('ENANO_DEBUG'); |
|
29 |
28 |
30 error_reporting(E_ALL); |
29 error_reporting(E_ALL); |
31 |
30 |
32 if($aggressive_optimize_html || $do_gzip) |
31 if($aggressive_optimize_html || $do_gzip) |
33 { |
32 { |