includes/clientside/jsres.php
changeset 1226 de56132c008d
parent 1136 8c664c96fccd
child 1227 bdac73ed481e
--- a/includes/clientside/jsres.php	Sun Mar 28 21:40:37 2010 -0400
+++ b/includes/clientside/jsres.php	Sun Mar 28 21:49:26 2010 -0400
@@ -105,7 +105,7 @@
 // try to gzip the output
 if ( !defined('ENANO_JSRES_SETUP_ONLY') ):
 $do_gzip = false;
-if ( isset($_SERVER['HTTP_ACCEPT_ENCODING']) )
+if ( isset($_SERVER['HTTP_ACCEPT_ENCODING']) && getConfig('gzip_output', false) == 1 )
 {
   $acceptenc = str_replace(' ', '', strtolower($_SERVER['HTTP_ACCEPT_ENCODING']));
   $acceptenc = explode(',', $acceptenc);