summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-06-27 12:41:51 +0100
committerAnika Henke <anika@selfthinker.org>2010-06-27 12:41:51 +0100
commit4691241902c0cfa175d06bb454e9147e25b9b21a (patch)
tree8de76d065cd745b5ea4b79ee4e4e234d57fc083d /doku.php
parenta8574918a3bd65683f0a2de4a3f26dd0ec2c410f (diff)
parentde3427dbc88f1a060e6557d79da3a9bafb9a6039 (diff)
downloadrpg-4691241902c0cfa175d06bb454e9147e25b9b21a.tar.gz
rpg-4691241902c0cfa175d06bb454e9147e25b9b21a.tar.bz2
Merge branch 'master' of github.com:splitbrain/dokuwiki
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 52e8e6b8e..052e18be9 100644
--- a/doku.php
+++ b/doku.php
@@ -61,7 +61,7 @@ if($conf['allowdebug'] && $ACT == 'debug'){
//send 404 for missing pages if configured or ID has special meaning to bots
if(!$INFO['exists'] &&
($conf['send404'] || preg_match('/^(robots\.txt|sitemap\.xml(\.gz)?|favicon\.ico|crossdomain\.xml)$/',$ID)) &&
- ($ACT == 'show' || substr($ACT,0,7) == 'export_') ){
+ ($ACT == 'show' || (!is_array($ACT) && substr($ACT,0,7) == 'export_')) ){
header('HTTP/1.0 404 Not Found');
}