mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
@@ -45,7 +45,7 @@ class phpbb_path_helper_test extends phpbb_test_case
|
||||
*/
|
||||
public function set_phpbb_root_path($filesystem)
|
||||
{
|
||||
$this->phpbb_root_path = $filesystem->clean_path(dirname(__FILE__) . '/../../phpBB/');
|
||||
$this->phpbb_root_path = $filesystem->clean_path(__DIR__ . '/../../phpBB/');
|
||||
}
|
||||
|
||||
public function test_get_web_root_path()
|
||||
|
Reference in New Issue
Block a user