mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/10783] Added ?assets_version to assets.
PHPBB3-10783
This commit is contained in:
@@ -882,6 +882,8 @@ class phpbb_style_template_filter extends php_user_filter
|
||||
*/
|
||||
private function compile_tag_include_js($tag_args)
|
||||
{
|
||||
global $config;
|
||||
|
||||
// Process dynamic includes
|
||||
if ($tag_args[0] == '{')
|
||||
{
|
||||
@@ -894,7 +896,7 @@ class phpbb_style_template_filter extends php_user_filter
|
||||
}
|
||||
|
||||
// Locate file
|
||||
$filename = $this->locator->get_first_file_location(array($tag_args), false, true);
|
||||
$filename = $this->locator->get_first_file_location(array($tag_args), false, true) . '?assets_version=' . $config['assets_version'];
|
||||
|
||||
if ($filename === false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user