From 73cc470bab1b51a46d48065a19e09e5bd756fbf9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 19 Jan 2016 19:55:20 +0100 Subject: don't exclude install.php from httpd router --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- cgit v1.2.3