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:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/../test_framework/phpbb_session_test_case.php';
|
||||
require_once __DIR__ . '/../test_framework/phpbb_session_test_case.php';
|
||||
|
||||
class phpbb_session_login_keys_test extends phpbb_session_test_case
|
||||
{
|
||||
@@ -20,7 +20,7 @@ class phpbb_session_login_keys_test extends phpbb_session_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/sessions_key.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/sessions_key.xml');
|
||||
}
|
||||
|
||||
public function test_set_key_manually()
|
||||
|
Reference in New Issue
Block a user