diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-10-09 10:38:50 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 22:15:10 +0200 |
commit | 62921c066cb66df35846fe5c9d576f4bb16f825a (patch) | |
tree | 4a27f78cd69094bc90f548dc33408cf80192828e /phpBB/phpbb | |
parent | [ticket/15377] Add test (diff) | |
download | phpbb-62921c066cb66df35846fe5c9d576f4bb16f825a.tar.gz phpbb-62921c066cb66df35846fe5c9d576f4bb16f825a.tar.bz2 phpbb-62921c066cb66df35846fe5c9d576f4bb16f825a.zip |
[ticket/15377] Use __DIR__ constant
PHPBB3-15377
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/template/twig/loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/loader.php b/phpBB/phpbb/template/twig/loader.php index c13e3ee298..d914c7807a 100644 --- a/phpBB/phpbb/template/twig/loader.php +++ b/phpBB/phpbb/template/twig/loader.php @@ -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__); } /** |