summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-05-28 21:34:51 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-05-28 21:34:51 +0200
commit3848a0ddedff8fb591bec112b4494ef277dd4737 (patch)
tree419929d183bdc63b405a2fd97680ae77c42d4a61 /doku.php
parent3ef758a9b964dbebecda8b61a23ef7db16327cbb (diff)
downloadrpg-3848a0ddedff8fb591bec112b4494ef277dd4737.tar.gz
rpg-3848a0ddedff8fb591bec112b4494ef277dd4737.tar.bz2
send 404 only for show or export action FS#1141
darcs-hash:20070528193451-7ad00-258dffcc0751d55a9eacd7dd48a1c6f81cac8167.gz
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 34e95ccbe..cc6d9e0f5 100644
--- a/doku.php
+++ b/doku.php
@@ -56,7 +56,9 @@
}
//send 404 for missing pages if configured
- if($conf['send404'] && !$INFO['exists']){
+ if($conf['send404'] &&
+ ($ACT == 'show' || substr($ACT,0,7) == 'export_') &&
+ !$INFO['exists']){
header('HTTP/1.0 404 Not Found');
}