aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-11-25 00:37:42 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-25 00:37:42 +0100
commit203132b015c37762e1478657b7678f4f96d0d1ef (patch)
tree79ca1c21307c2525741b383c0ac125fa1f14310a
parent76cbfadcdfdcbf675b83f6162a229938aca3bbe1 (diff)
Pass FreshRSS version to JS client side for extensions (#5902)
fix https://github.com/FreshRSS/FreshRSS/issues/5542
-rw-r--r--app/views/helpers/javascript_vars.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 1798187d0..38a7751ee 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -28,6 +28,7 @@ echo htmlspecialchars(json_encode(array(
'extra.js' => @filemtime(PUBLIC_PATH . '/scripts/extra.js'),
'feed.js' => @filemtime(PUBLIC_PATH . '/scripts/feed.js'),
],
+ 'version' => FRESHRSS_VERSION,
),
'shortcuts' => array(
'actualize' => @$s['actualize'],