mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11647] Use $config for assets_version
PHPBB3-11647
This commit is contained in:
parent
63f1d99cc8
commit
4fbdac0b9e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class phpbb_template_twig_node_includeasset extends Twig_Node
|
||||||
->write("\$local_file = \$this->getEnvironment()->getLoader()->getCacheKey(\$asset_path);\n")
|
->write("\$local_file = \$this->getEnvironment()->getLoader()->getCacheKey(\$asset_path);\n")
|
||||||
->write("\$asset->set_path(\$local_file, true);\n")
|
->write("\$asset->set_path(\$local_file, true);\n")
|
||||||
->outdent()
|
->outdent()
|
||||||
->write("\$asset->add_assets_version(\$this->getEnvironment()->get_phpbb_config()['assets_version']);\n")
|
->write("\$asset->add_assets_version({$config['assets_version']});\n")
|
||||||
->write("\$asset_file = \$asset->get_url();\n")
|
->write("\$asset_file = \$asset->get_url();\n")
|
||||||
->write("}\n")
|
->write("}\n")
|
||||||
->outdent()
|
->outdent()
|
||||||
|
|
Loading…
Add table
Reference in a new issue