diff options
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Output.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index d2005cc41..cdb92b3c6 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -120,12 +120,10 @@ class CI_Output { */ public function __construct() { - global $CFG; - $this->_zlib_oc = (bool) @ini_get('zlib.output_compression'); $this->_compress_output = ( $this->_zlib_oc === FALSE - && $CFG->item('compress_output') === TRUE + && config_item('compress_output') === TRUE && extension_loaded('zlib') ); |