mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -122,7 +122,7 @@ define('USE_GZIP', true);
|
||||
$compression_browser_support = false;
|
||||
$compression_server_support = false;
|
||||
|
||||
if(strstr(varset($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip'))
|
||||
if(strpos(varset($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') !== false)
|
||||
{
|
||||
$compression_browser_support = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user