mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 17:41:25 +02:00
[ticket/14446] Add predefined placeholder variables to twig definition
PHPBB3-14446
This commit is contained in:
@@ -19,7 +19,10 @@ namespace phpbb\template\twig;
|
||||
class definition
|
||||
{
|
||||
/** @var array **/
|
||||
protected $definitions = array();
|
||||
protected $definitions = array(
|
||||
'SCRIPTS' => '__SCRIPTS_PLACEHOLDER__',
|
||||
'STYLESHEETS' => '__STYLESHEETS_PLACEHOLDER__'
|
||||
);
|
||||
|
||||
/**
|
||||
* Get a DEFINE'd variable
|
||||
|
Reference in New Issue
Block a user