summaryrefslogtreecommitdiff
path: root/lib/exe/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-09-24 12:06:06 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-09-24 12:06:06 +0200
commit07cb64f88c84906883a0caf367f606a7b52fad6c (patch)
tree8ae18b6e37d230c62b1e3cb914e57a80b8f5c2bc /lib/exe/indexer.php
parent40b33eff69a8a44da0ab6962d50f2027bcfc33b6 (diff)
downloadrpg-07cb64f88c84906883a0caf367f606a7b52fad6c.tar.gz
rpg-07cb64f88c84906883a0caf367f606a7b52fad6c.tar.bz2
fix for sitemap creation with new compression option #919
darcs-hash:20060924100606-7ad00-7e0bc1fa7778669ac352f8d8994acbb7517323cd.gz
Diffstat (limited to 'lib/exe/indexer.php')
-rw-r--r--lib/exe/indexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index 5cd030976..cfbd4ba4b 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -212,7 +212,7 @@ function runSitemapper(){
print "runSitemapper(): started".NL;
if(!$conf['sitemap']) return false;
- if($conf['usegzip']){
+ if($conf['compression'] == 'bz2' || $conf['compression'] == 'gz'){
$sitemap = 'sitemap.xml.gz';
}else{
$sitemap = 'sitemap.xml';