aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-10-09 10:38:50 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 22:15:10 +0200
commit62921c066cb66df35846fe5c9d576f4bb16f825a (patch)
tree4a27f78cd69094bc90f548dc33408cf80192828e /phpBB/phpbb/template
parent3e5247187c0b0bb16c813c0eab6c1421e8a0a81b (diff)
downloadforums-62921c066cb66df35846fe5c9d576f4bb16f825a.tar
forums-62921c066cb66df35846fe5c9d576f4bb16f825a.tar.gz
forums-62921c066cb66df35846fe5c9d576f4bb16f825a.tar.bz2
forums-62921c066cb66df35846fe5c9d576f4bb16f825a.tar.xz
forums-62921c066cb66df35846fe5c9d576f4bb16f825a.zip
[ticket/15377] Use __DIR__ constant
PHPBB3-15377
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r--phpBB/phpbb/template/twig/loader.php2
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__);
}
/**