forked from leftypol/leftypol
templates: bust all js caches with resource_version
This commit is contained in:
parent
b438283e32
commit
abfa773282
6 changed files with 25 additions and 25 deletions
|
@ -53,7 +53,7 @@
|
|||
{
|
||||
error('thread_limit must be an integer above 1.', true);
|
||||
}
|
||||
if (!is_array($overboard['exclude']))
|
||||
if (!is_array($overboard['exclude']))
|
||||
{
|
||||
error('Exclude list must be array of strings.', true);
|
||||
}
|
||||
|
@ -62,7 +62,7 @@
|
|||
error('Exclude list must be array of strings.', true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
return $settings;
|
||||
|
@ -199,7 +199,7 @@
|
|||
}
|
||||
|
||||
$html .= '<script>var ukko_overflow = ' . json_encode($overflow) . '</script>';
|
||||
$html .= '<script type="text/javascript" src="/'.$overboard['uri'].'/overboard.js"></script>';
|
||||
$html .= '<script type="text/javascript" src="/'.$overboard['uri'].'/overboard.js?=' . $config['resource_version'] . '"></script>';
|
||||
|
||||
return Element('index.html', array(
|
||||
'config' => $config,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue