diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-09 17:28:56 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-09 17:28:56 -0500 |
commit | f30b87519e9ead41525e1979cbce874e8a84e2b8 (patch) | |
tree | c21dc4ba2e8642e96e472df60518e55fd1be77e1 /phpBB/common.php | |
parent | Merge pull request #1703 from cyberalien/ticket/develop/11832 (diff) | |
download | phpbb-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar.gz phpbb-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar.bz2 phpbb-f30b87519e9ead41525e1979cbce874e8a84e2b8.zip |
[ticket/11832] Inject dependencies for phpbb_get_web_root_path (also moving)
Function moved from phpbb_get_web_root_path to filesystem::get_web_root_path
PHPBB3-11832
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index a7b7db28ac..cbcd146832 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -47,7 +47,7 @@ if (!defined('PHPBB_INSTALLED')) // Eliminate . and .. from the path require($phpbb_root_path . 'phpbb/filesystem.' . $phpEx); - $phpbb_filesystem = new phpbb_filesystem(); + $phpbb_filesystem = new phpbb_filesystem($phpbb_root_path); $script_path = $phpbb_filesystem->clean_path($script_path); $url = (($secure) ? 'https://' : 'http://') . $server_name; |