diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-13 10:04:35 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-13 10:04:35 -0500 |
commit | 21624e79fc512fd86177080010bb7d26c71ce3cb (patch) | |
tree | ac453dbf1b818f8383029146d5f8ca9a7920ad3e /phpBB/common.php | |
parent | f8e665751a0926807c8352eb2b2d942247d3c029 (diff) | |
download | forums-21624e79fc512fd86177080010bb7d26c71ce3cb.tar forums-21624e79fc512fd86177080010bb7d26c71ce3cb.tar.gz forums-21624e79fc512fd86177080010bb7d26c71ce3cb.tar.bz2 forums-21624e79fc512fd86177080010bb7d26c71ce3cb.tar.xz forums-21624e79fc512fd86177080010bb7d26c71ce3cb.zip |
[ticket/11832] Fix constructions of phpbb_filesystem
PHPBB3-11832
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 43beb86972..fc309892d6 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -47,7 +47,12 @@ if (!defined('PHPBB_INSTALLED')) // Eliminate . and .. from the path require($phpbb_root_path . 'phpbb/filesystem.' . $phpEx); - $phpbb_filesystem = new phpbb_filesystem($phpbb_root_path); + $phpbb_filesystem = new phpbb_filesystem( + new phpbb_symfony_request( + new phpbb_request() + ), + $phpbb_root_path + ); $script_path = $phpbb_filesystem->clean_path($script_path); $url = (($secure) ? 'https://' : 'http://') . $server_name; |