1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14457] Uses a random placeholder to inject css and js

PHPBB3-14457
This commit is contained in:
Tristan Darricau
2016-02-05 20:30:02 +01:00
parent d0ce6a18df
commit d34ffda9c1
2 changed files with 17 additions and 26 deletions

View File

@@ -19,10 +19,7 @@ namespace phpbb\template\twig;
class definition
{
/** @var array **/
protected $definitions = array(
'SCRIPTS' => '__SCRIPTS_PLACEHOLDER__',
'STYLESHEETS' => '__STYLESHEETS_PLACEHOLDER__'
);
protected $definitions = array();
/**
* Get a DEFINE'd variable