diff options
author | David King <imkingdavid@gmail.com> | 2013-09-06 12:48:09 -0700 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2013-09-06 12:48:09 -0700 |
commit | 2ccc992da16cf4feaefef3deb230b1b7cae2cac3 (patch) | |
tree | b3167f977da25ffb3873ea947044832b934bcf57 /phpBB/includes/functions.php | |
parent | 010da72f64ce325c27fb68c5c142ec01e1e53e61 (diff) | |
download | forums-2ccc992da16cf4feaefef3deb230b1b7cae2cac3.tar forums-2ccc992da16cf4feaefef3deb230b1b7cae2cac3.tar.gz forums-2ccc992da16cf4feaefef3deb230b1b7cae2cac3.tar.bz2 forums-2ccc992da16cf4feaefef3deb230b1b7cae2cac3.tar.xz forums-2ccc992da16cf4feaefef3deb230b1b7cae2cac3.zip |
[ticket/11824] Fix logic
PHPBB3-11824
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3ff7716edd..2a3157ffbe 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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; } |