1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-18 23:51:49 +02:00

[ticket/13740] Restore original install folder

This reverts commit 934e2821f1cef5e2e21ad6d96f7beb45647ed81c.

PHPBB3-13740
This commit is contained in:
Mate Bartus
2015-06-30 16:36:34 +02:00
parent 249345d9cc
commit 10f6716566
17 changed files with 3397 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ if (!defined('PHPBB_INSTALLED'))
}
// $phpbb_root_path accounts for redirects from e.g. /adm
$script_path = trim(dirname($script_name)) . '/' . $phpbb_root_path . 'install/app.' . $phpEx;
$script_path = trim(dirname($script_name)) . '/' . $phpbb_root_path . 'install/index.' . $phpEx;
// Replace any number of consecutive backslashes and/or slashes with a single slash
// (could happen on some proxy setups and/or Windows servers)
$script_path = preg_replace('#[\\\\/]{2,}#', '/', $script_path);