aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-13 10:04:35 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-13 10:04:35 -0500
commit21624e79fc512fd86177080010bb7d26c71ce3cb (patch)
treeac453dbf1b818f8383029146d5f8ca9a7920ad3e /phpBB/common.php
parentf8e665751a0926807c8352eb2b2d942247d3c029 (diff)
downloadforums-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.php7
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;