1
0
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:
Marc Alexander
2016-02-02 17:06:12 +01:00
parent b432f33b49
commit 94f87d9318
2 changed files with 4 additions and 3 deletions

View File

@@ -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