1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/15392] Changed dirname(__FILE__) to __DIR__

Changed dirname(__FILE__) to __DIR__ everywhere

PHPBB3-15392
This commit is contained in:
DinHere
2017-12-03 17:19:59 +02:00
committed by Marc Alexander
parent 66cbf2607b
commit 8c9d26db1f
198 changed files with 373 additions and 373 deletions

View File

@@ -11,7 +11,7 @@
*
*/
require_once dirname(__FILE__) . '/template_test_case.php';
require_once __DIR__ . '/template_test_case.php';
class phpbb_template_allfolder_test extends phpbb_template_template_test_case
{
@@ -46,7 +46,7 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case
);
$this->extension_manager = new phpbb_mock_extension_manager(
dirname(__FILE__) . '/',
__DIR__ . '/',
array(
'vendor4/bar' => array(
'ext_name' => 'vendor4/bar',