aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filesystem
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-10 10:14:57 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-10 10:14:57 -0500
commitc46637990e5937881f98d9711783fe9982532884 (patch)
tree405c5810879e4643b9df91bd4828dbd510c156a3 /tests/filesystem
parent3684d8e9711516264fedac0519262891d9894ea1 (diff)
downloadforums-c46637990e5937881f98d9711783fe9982532884.tar
forums-c46637990e5937881f98d9711783fe9982532884.tar.gz
forums-c46637990e5937881f98d9711783fe9982532884.tar.bz2
forums-c46637990e5937881f98d9711783fe9982532884.tar.xz
forums-c46637990e5937881f98d9711783fe9982532884.zip
[ticket/11832] Use dirname(__FILE__)
PHPBB3-11832
Diffstat (limited to 'tests/filesystem')
-rw-r--r--tests/filesystem/web_root_path_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/filesystem/web_root_path_test.php b/tests/filesystem/web_root_path_test.php
index 3c530619dc..3c9637fe06 100644
--- a/tests/filesystem/web_root_path_test.php
+++ b/tests/filesystem/web_root_path_test.php
@@ -33,7 +33,7 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
*/
public function set_phpbb_root_path()
{
- $this->phpbb_root_path = __DIR__ . './../../phpBB/';
+ $this->phpbb_root_path = dirname(__FILE__) . './../../phpBB/';
}
public function test_get_web_root_path()