diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-02-07 12:49:00 +0100 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-02-18 17:30:31 +0100 |
commit | 99ace63e62fddc934eded20afc6a7aebbc05e13b (patch) | |
tree | 744a3d9c86bd27f007bcadb71f980721aa981b26 /phpBB/phpbb/template | |
parent | f7c5098c60688ab8553732d5129680c959355e15 (diff) | |
download | forums-99ace63e62fddc934eded20afc6a7aebbc05e13b.tar forums-99ace63e62fddc934eded20afc6a7aebbc05e13b.tar.gz forums-99ace63e62fddc934eded20afc6a7aebbc05e13b.tar.bz2 forums-99ace63e62fddc934eded20afc6a7aebbc05e13b.tar.xz forums-99ace63e62fddc934eded20afc6a7aebbc05e13b.zip |
[ticket/14457] Don't set CSS to JS and JS to CSS
PHPBB3-14457
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r-- | phpBB/phpbb/template/twig/environment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/twig/environment.php b/phpBB/phpbb/template/twig/environment.php index 27a475f046..65f1af5d9e 100644 --- a/phpBB/phpbb/template/twig/environment.php +++ b/phpBB/phpbb/template/twig/environment.php @@ -230,8 +230,8 @@ class environment extends \Twig_Environment */ private function inject_assets($output, $placeholder_salt) { - $output = str_replace('__SCRIPTS_' . $placeholder_salt . '__', $this->assets_bag->get_stylesheets_content(), $output); - $output = str_replace('__STYLESHEETS_' . $placeholder_salt . '__', $this->assets_bag->get_scripts_content(), $output); + $output = str_replace('__STYLESHEETS_' . $placeholder_salt . '__', $this->assets_bag->get_stylesheets_content(), $output); + $output = str_replace('__SCRIPTS_' . $placeholder_salt . '__', $this->assets_bag->get_scripts_content(), $output); return $output; } |