aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filesystem
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-10 10:13:26 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-10 10:13:26 -0500
commit3684d8e9711516264fedac0519262891d9894ea1 (patch)
tree3e905034cb2f4e2628b0cc4f5fd524fe8827415e /tests/filesystem
parentd5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4 (diff)
downloadforums-3684d8e9711516264fedac0519262891d9894ea1.tar
forums-3684d8e9711516264fedac0519262891d9894ea1.tar.gz
forums-3684d8e9711516264fedac0519262891d9894ea1.tar.bz2
forums-3684d8e9711516264fedac0519262891d9894ea1.tar.xz
forums-3684d8e9711516264fedac0519262891d9894ea1.zip
[ticket/11832] Use $phpbb_filesystem instead of the container in append_sid
PHPBB3-11832
Diffstat (limited to 'tests/filesystem')
-rw-r--r--tests/filesystem/web_root_path_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/filesystem/web_root_path_test.php b/tests/filesystem/web_root_path_test.php
index 7b44ac8c67..3c530619dc 100644
--- a/tests/filesystem/web_root_path_test.php
+++ b/tests/filesystem/web_root_path_test.php
@@ -18,7 +18,9 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
$this->set_phpbb_root_path();
- $this->filesystem = new phpbb_filesystem($this->phpbb_root_path);
+ global $phpbb_filesystem;
+
+ $phpbb_filesystem = $this->filesystem = new phpbb_filesystem($this->phpbb_root_path);
}
/**