[ticket/15377] Use __DIR__ constant

PHPBB3-15377
This commit is contained in:
Rubén Calvo 2017-10-09 10:38:50 +02:00 committed by Marc Alexander
parent 3e5247187c
commit 62921c066c
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -35,7 +35,7 @@ class loader extends \Twig_Loader_Filesystem
{ {
$this->filesystem = $filesystem; $this->filesystem = $filesystem;
parent::__construct($paths, $this->filesystem->realpath(dirname(__FILE__))); parent::__construct($paths, __DIR__);
} }
/** /**