mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-05 00:13:29 +02:00
[ticket/15377] Fix INCLUDECSS and INCLUDEJS
PHPBB3-15377
This commit is contained in:
parent
bba4b4fc30
commit
18c5f5c6e8
@ -22,6 +22,16 @@ class loader extends \Twig_Loader_Filesystem
|
||||
{
|
||||
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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user