Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.php')
-rwxr-xr-xtemplates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php
index d031aa8..9a7ff40 100755
--- a/templates/index.php
+++ b/templates/index.php
@@ -12,7 +12,7 @@ $file = str_replace("href=\"","href=\"".$root."/CarnetElectron/",$file);
preg_match_all('/<script.*?src=\"(.*?\.js(?:\?.*?)?)"/si', $file, $matches, PREG_PATTERN_ORDER);
for ($i = 0; $i < count($matches[1]); $i++) {
- script("carnet","../templates/CarnetElectron/".substr($matches[1][$i],0,-3));
+ script("carnet","../templates/CarnetElectron/".substr($matches[1][$i],0,-3)."?t=".time());
}
if($_['carnet_display_fullscreen']==="yes")
script("carnet","../templates/CarnetElectron/compatibility/nextcloud/browser_fullscreen");