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:
authorPhie <phie@phie.ovh>2019-03-03 03:32:03 +0300
committerPhie <phie@phie.ovh>2019-03-03 03:32:03 +0300
commitbeb8a90826666ba41fb2012e2c92e47c7b5f4251 (patch)
treeeac78adcc6e2de6c91eb556001e03b645665a0da /templates
parent2535030653ac592b670f8d95c76d23a40da18d36 (diff)
avoid remaining caracter
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);