[ticket/11832] Use dirname(__FILE__)

PHPBB3-11832
This commit is contained in:
Nathan Guse 2013-09-10 10:14:57 -05:00
parent 3684d8e971
commit c46637990e

View file

@ -33,7 +33,7 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
*/ */
public function set_phpbb_root_path() 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() public function test_get_web_root_path()