diff options
Diffstat (limited to 'templates/index.php')
-rwxr-xr-x | templates/index.php | 2 |
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); |