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')
-rwxr-xr-xtemplates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php
index ec285c0..352ccdd 100755
--- a/templates/index.php
+++ b/templates/index.php
@@ -15,7 +15,7 @@ $file = str_replace("href=\"","href=\"".$root."/CarnetElectron/",$file);
$file = preg_replace_callback('/<script(.*?)src=\"(.*?\.js(?:\?.*?)?)"/s',function ($matches) {
global $currentpath;
if($matches[2] === "libs/jquery.min.js")
- return "";
+ return "<script src=\"\"";
return "<script".$matches[1]."src=\"".$matches[2]."?mtime=".filemtime($currentpath.$matches[2])."\"";
}, $file);