Page 1 of 1

[Solved] Bug at $config['output_compression'] in index.php?

Posted: Wed Dec 03, 2008 5:05 pm
by swgreed
I just tested the $config['output_compression'] option in the config.php file with a remote check at http://www.whatsmyip.org/mod_gzip_test/
Test your domain, but do not forget the closing slash.

However the variable $config['output_compression'] does not seem to be valid/set at the following line of code (index.php):

Code: Select all

if( isset($config['output_compression']) && $config['debug'] != true )
If I manually add a line containing before the if-clause, the compression seems to work.

Code: Select all

require_once($dirname.'/config.php');
Any clue if this is a bug, why the variable is not valid at that time?

Re: Bug at $config['output_compression'] in index.php? (version 1.5)

Posted: Thu Dec 04, 2008 3:52 pm
by swgreed
Seems to be fixed with version 1.5.1!
Thank you!