1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/11824] Fix logic

PHPBB3-11824
This commit is contained in:
David King
2013-09-06 12:48:09 -07:00
parent 010da72f64
commit 2ccc992da1
2 changed files with 3 additions and 3 deletions

View File

@@ -5750,7 +5750,7 @@ function phpbb_get_web_root_path(Request $symfony_request, $phpbb_root_path = ''
$corrections = substr_count($path_info, '/');
// We need to account for whether or not app.php is in the URL
if (strpos($symfony_request->server->get('REQUEST_URI', ''), 'app.' . $phpEx) !== false)
if (strpos($symfony_request->server->get('REQUEST_URI', ''), 'app.' . $phpEx . '/') === false)
{
$corrections -= 1;
}