[ticket/15377] Fix INCLUDECSS and INCLUDEJS

PHPBB3-15377
This commit is contained in:
Rubén Calvo 2017-10-05 20:54:01 +02:00
parent bba4b4fc30
commit 18c5f5c6e8

View file

@ -22,6 +22,16 @@ class loader extends \Twig_Loader_Filesystem
{ {
protected $safe_directories = array(); protected $safe_directories = array();
/**
* Constructor
*
* @param string|array $paths
*/
public function __construct($paths = array())
{
parent::__construct($paths, filesystem_helper::realpath(dirname(__FILE__)));
}
/** /**
* Set safe directories * Set safe directories
* *