mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/15377] Use __DIR__ constant
PHPBB3-15377
This commit is contained in:
parent
3e5247187c
commit
62921c066c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class loader extends \Twig_Loader_Filesystem
|
|||
{
|
||||
$this->filesystem = $filesystem;
|
||||
|
||||
parent::__construct($paths, $this->filesystem->realpath(dirname(__FILE__)));
|
||||
parent::__construct($paths, __DIR__);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue