add busting to index.php
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 18 Apr 2020 08:59:18 +0000 (10:59 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 18 Apr 2020 08:59:18 +0000 (10:59 +0200)
web/index.php

index 6e6d50a..cbdca2c 100644 (file)
@@ -1024,20 +1024,20 @@ supported by:<br>
 <title>Brisk</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <link rel="shortcut icon" href="img/brisk_ico.png">
-<script type="text/javascript" src="commons.js"></script>
-<script type="text/javascript" src="fieldify.js"></script>
-<script type="text/javascript" src="prefs.js"></script>
-<script type="text/javascript" src="info.js"></script>
-<!-- <script type="text/javascript" src="myconsole.js"></script> -->
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript" src="heartbit.js"></script>
-<script type="text/javascript" src="xynt-streaming.js"></script>
-<script type="text/javascript" src="preload_img<?php echo langtolng($G_lang); ?>.js"></script>
-<script type="text/javascript" src="room.js"></script>
-<script type="text/javascript" src="md5.js"></script>
-<script type="text/javascript" src="probrowser.js"></script>
-<script type="text/javascript" src="json2.js"></script>
-<script type="text/javascript" src="/cookie_law.js"></script>
+<script type="text/javascript" src="commons.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="fieldify.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="prefs.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="info.js?v=<? echo BSK_BUSTING; ?>"></script>
+<!-- <script type="text/javascript" src="myconsole.js?v=<? echo BSK_BUSTING; ?>"></script> -->
+<script type="text/javascript" src="menu.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="heartbit.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="xynt-streaming.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="preload_img<?php echo langtolng($G_lang); ?>.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="room.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="md5.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="probrowser.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="json2.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="/cookie_law.js?v=<? echo BSK_BUSTING; ?>"></script>
 <link rel="stylesheet" type="text/css" href="/cookie_law.css">
 <link rel="stylesheet" type="text/css" href="brisk.css">
 <link rel="stylesheet" type="text/css" href="room.css">
@@ -1194,20 +1194,20 @@ cookie_law(null);
 <title>Brisk</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <link rel="shortcut icon" href="img/brisk_ico.png">
-<script type="text/javascript" src="commons.js"></script>
-<script type="text/javascript" src="fieldify.js"></script>
-<script type="text/javascript" src="prefs.js"></script>
-<script type="text/javascript" src="info.js"></script>
-<!-- <script type="text/javascript" src="myconsole.js"></script> -->
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript" src="ticker.js"></script>
-<script type="text/javascript" src="heartbit.js"></script>
-<script type="text/javascript" src="xynt-streaming.js"></script>
-<script type="text/javascript" src="room.js"></script>
-<script type="text/javascript" src="preload_img<?php echo langtolng($G_lang); ?>.js"></script>
-<script type="text/javascript" src="probrowser.js"></script>
-<script type="text/javascript" src="json2.js"></script>
-<script type="text/javascript" src="/cookie_law.js"></script>
+<script type="text/javascript" src="commons.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="fieldify.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="prefs.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="info.js?v=<? echo BSK_BUSTING; ?>"></script>
+<!-- <script type="text/javascript" src="myconsole.js?v=<? echo BSK_BUSTING; ?>"></script> -->
+<script type="text/javascript" src="menu.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="ticker.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="heartbit.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="xynt-streaming.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="room.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="preload_img<?php echo langtolng($G_lang); ?>.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="probrowser.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="json2.js?v=<? echo BSK_BUSTING; ?>"></script>
+<script type="text/javascript" src="/cookie_law.js?v=<? echo BSK_BUSTING; ?>"></script>
 <link rel="stylesheet" type="text/css" href="/cookie_law.css">
 <link rel="stylesheet" type="text/css" href="brisk.css">
 <link rel="stylesheet" type="text/css" href="room.css">