From fe8934905b38990a94d8d400a689538345d5b5a5 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Fri, 25 Aug 2006 19:47:55 +0200 Subject: [PATCH] typo fix for compression check darcs-hash:20060825174755-7ad00-e67f267dd1552ba22b01662de6dbb84faf33e5f8.gz --- inc/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/init.php b/inc/init.php index b6fdc0e73..354e0de8a 100644 --- a/inc/init.php +++ b/inc/init.php @@ -94,10 +94,10 @@ @ini_set('magic_quotes_sybase',0); // disable gzip if not available - if($conf['compression'] == 'bzip2' && !function_exists('bzopen')){ - $conf['compression'] = 'gzip'; + if($conf['compression'] == 'bz' && !function_exists('bzopen')){ + $conf['compression'] = 'gz'; } - if($conf['compression'] == 'gzip' && !function_exists('gzopen')){ + if($conf['compression'] == 'gz' && !function_exists('gzopen')){ $conf['compression'] = 0; } -- GitLab