diff options
author | Andreas Gohr <andi@splitbrain.org> | 2016-01-19 19:55:20 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2016-01-19 19:55:20 +0100 |
commit | 73cc470bab1b51a46d48065a19e09e5bd756fbf9 (patch) | |
tree | ceac277470de28566c69327ea4c7e9684a601931 /index.php | |
parent | 7aaab1092d683bd2160e72ecd872d7c5e628dbd1 (diff) | |
download | dokuwiki-73cc470bab1b51a46d48065a19e09e5bd756fbf9.tar.gz dokuwiki-73cc470bab1b51a46d48065a19e09e5bd756fbf9.zip |
don't exclude install.php from httpd router
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ if(preg_match('/^\/_media\/(.*)/', $_SERVER['SCRIPT_NAME'], $m)) { # access limitiations if(preg_match('/\/([\._]ht|README$|VERSION$|COPYING$)/', $_SERVER['SCRIPT_NAME']) or - preg_match('/^\/(data\/|conf\/|bin\/|inc\/|install.php)/', $_SERVER['SCRIPT_NAME']) + preg_match('/^\/(data|conf|bin|inc)\//', $_SERVER['SCRIPT_NAME']) ) { die('Access denied'); } |