mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15392] Replace remaining dirname(__FILE__) with __DIR__
PHPBB3-15392
This commit is contained in:
2
tests/console/cache/purge_test.php
vendored
2
tests/console/cache/purge_test.php
vendored
@@ -29,7 +29,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$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