mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/base.php';
|
||||
require_once __DIR__ . '/base.php';
|
||||
|
||||
class phpbb_notification_group_request_test extends phpbb_tests_notification_base
|
||||
{
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/group_request.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/group_request.xml');
|
||||
}
|
||||
|
||||
protected function get_notification_types()
|
||||
|
Reference in New Issue
Block a user