1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/15542] Always append assets versions to assets

PHPBB3-15542
This commit is contained in:
Marc Alexander
2018-10-29 16:07:48 +01:00
parent f4063e475d
commit 5d4fccd235

View File

@@ -50,9 +50,9 @@ abstract class includeasset extends \Twig_Node
->write("\$asset->set_path(\$local_file, true);\n") ->write("\$asset->set_path(\$local_file, true);\n")
->outdent() ->outdent()
->write("}\n") ->write("}\n")
->write("\$asset->add_assets_version('{$config['assets_version']}');\n")
->outdent() ->outdent()
->write("}\n") ->write("}\n")
->write("\$asset->add_assets_version('{$config['assets_version']}');\n")
->write("\$this->getEnvironment()->get_assets_bag()->add_{$this->get_setters_name()}(\$asset);") ->write("\$this->getEnvironment()->get_assets_bag()->add_{$this->get_setters_name()}(\$asset);")
; ;
} }