mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15377] Fix INCLUDECSS and INCLUDEJS
PHPBB3-15377
This commit is contained in:
parent
bba4b4fc30
commit
18c5f5c6e8
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue