aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2016-01-19 19:55:20 +0100
committerAndreas Gohr <andi@splitbrain.org>2016-01-19 19:55:20 +0100
commit73cc470bab1b51a46d48065a19e09e5bd756fbf9 (patch)
treeceac277470de28566c69327ea4c7e9684a601931 /index.php
parent7aaab1092d683bd2160e72ecd872d7c5e628dbd1 (diff)
downloaddokuwiki-73cc470bab1b51a46d48065a19e09e5bd756fbf9.tar.gz
dokuwiki-73cc470bab1b51a46d48065a19e09e5bd756fbf9.zip
don't exclude install.php from httpd router
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 673282b43..689ce1779 100644
--- a/index.php
+++ b/index.php
@@ -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');
}