aboutsummaryrefslogtreecommitdiff
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
parent[ticket/15377] Add test (diff)
downloadphpbb-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.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__);
}
/**