mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15377] Use __DIR__ constant
PHPBB3-15377
This commit is contained in:
parent
c2d3322e82
commit
eaeec9b50b
1 changed files with 1 additions and 1 deletions
|
@ -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__);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue