diff options
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r-- | inc/pageutils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php index 5fadd7a36..69e04f489 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -169,9 +169,9 @@ function wikiFN($raw_id,$rev='',$clean=true){ $fn = $conf['olddir'].'/'.utf8_encodeFN($id).'.'.$rev.'.txt'; if($conf['compression']){ //test for extensions here, we want to read both compressions - if (file_exists($fn . '.gz')){ + if (@file_exists($fn . '.gz')){ $fn .= '.gz'; - }else if(file_exists($fn . '.bz2')){ + }else if(@file_exists($fn . '.bz2')){ $fn .= '.bz2'; }else{ //file doesnt exist yet, so we take the configured extension |