index.php
changeset 1226 de56132c008d
parent 1149 be4feea8872a
child 1227 bdac73ed481e
--- a/index.php	Sun Mar 28 21:40:37 2010 -0400
+++ b/index.php	Sun Mar 28 21:49:26 2010 -0400
@@ -24,8 +24,7 @@
 
 // Set up gzip encoding before any output is sent
 global $do_gzip;
-// FIXME: make this configurable
-$do_gzip = !defined('ENANO_DEBUG');
+$do_gzip = !defined('ENANO_DEBUG') && getConfig('gzip_output', false) == 1 && !isset($_GET['disable_builtin_gzip']);
 
 error_reporting(E_ALL);