Skip to content

Commit

Permalink
don't exclude install.php from httpd router
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 19, 2016
1 parent 7aaab10 commit 73cc470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -52,7 +52,7 @@

# 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');
}
Expand Down

0 comments on commit 73cc470

Please sign in to comment.