diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-05-28 21:34:51 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-05-28 21:34:51 +0200 |
commit | 3848a0ddedff8fb591bec112b4494ef277dd4737 (patch) | |
tree | 419929d183bdc63b405a2fd97680ae77c42d4a61 /doku.php | |
parent | 3ef758a9b964dbebecda8b61a23ef7db16327cbb (diff) | |
download | rpg-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.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'); } |