mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/15392] Replace remaining dirname(__FILE__) with __DIR__
PHPBB3-15392
This commit is contained in:
2
tests/cache/file_driver_test.php
vendored
2
tests/cache/file_driver_test.php
vendored
@@ -26,7 +26,7 @@ class phpbb_cache_file_driver_test extends phpbb_cache_common_test_case
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->cache_dir = dirname(__FILE__) . '/../tmp/cache/';
|
||||
$this->cache_dir = __DIR__ . '/../tmp/cache/';
|
||||
|
||||
if (file_exists($this->cache_dir))
|
||||
{
|
||||
|
Reference in New Issue
Block a user