diff options
Diffstat (limited to 'inc/render.inc.php')
-rw-r--r-- | inc/render.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php index 6853acde..4fe9d002 100644 --- a/inc/render.inc.php +++ b/inc/render.inc.php @@ -32,7 +32,7 @@ class Render public static function output() { Header('Content-Type: text/html; charset=utf-8'); - $zip = (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false); + $zip = isset($_SERVER['HTTP_ACCEPT_ENCODING']) && (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false); if ($zip) ob_start(); echo '<!DOCTYPE html> |