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__) . '/../../phpBB/includes/functions_privmsgs.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions_privmsgs.php';
|
||||
|
||||
class phpbb_functions_privmsgs_get_max_setting_from_group_test extends phpbb_database_test_case
|
||||
{
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__).'/fixtures/get_max_setting_from_group.xml');
|
||||
return $this->createXMLDataSet(__DIR__.'/fixtures/get_max_setting_from_group.xml');
|
||||
}
|
||||
|
||||
/** @var \phpbb\db\driver\driver_interface */
|
||||
|
Reference in New Issue
Block a user