Use config_item() in CI_Output::__construct()
diff --git a/system/core/Output.php b/system/core/Output.php
index d2005cc..cdb92b3 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -120,12 +120,10 @@
*/
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')
);