[ticket/15377] Use __DIR__ constant

PHPBB3-15377
This commit is contained in:
Rubén Calvo 2017-10-09 10:38:50 +02:00
parent c2d3322e82
commit eaeec9b50b

View file

@ -29,7 +29,7 @@ class loader extends \Twig_Loader_Filesystem
*/
public function __construct($paths = array())
{
parent::__construct($paths, filesystem_helper::realpath(dirname(__FILE__)));
parent::__construct($paths, __DIR__);
}
/**