diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2010-06-27 12:55:15 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2010-06-27 12:55:15 +0100 |
commit | c5ef5f5975c46c88423b0a824f383173662eaba3 (patch) | |
tree | c1e86048fd1e073593da7199c338db387be0fd4a /doku.php | |
parent | 13ebcbe5742a0b5014e3c70a0d521332cbdcdf79 (diff) | |
parent | 4691241902c0cfa175d06bb454e9147e25b9b21a (diff) | |
download | rpg-c5ef5f5975c46c88423b0a824f383173662eaba3.tar.gz rpg-c5ef5f5975c46c88423b0a824f383173662eaba3.tar.bz2 |
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Diffstat (limited to 'doku.php')
-rw-r--r-- | doku.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); } |