mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/15377] Fix INCLUDECSS and INCLUDEJS
PHPBB3-15377
This commit is contained in:
@@ -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
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user