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-10-29 18:43:54 +0300
committerPhie <phie@phie.ovh>2019-10-29 18:43:54 +0300
commit0e337e2c88e95199f3405659f7eda9a2632520a0 (patch)
tree0b7086ff5ef6ba38f48d9a18c203ac6f56eb4643 /templates
parent99781046ed2fb464de1088b730a5decb313d2f52 (diff)
fix appversion
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.php b/templates/index.php
index 14b0986..50e0ca2 100755
--- a/templates/index.php
+++ b/templates/index.php
@@ -29,13 +29,13 @@ $file = preg_replace_callback('/<script(.*?)src=\"(.*?\.js(?:\?.*?)?)"/s',functi
// token is needed to pass the csfr check
$file .= "<span style=\"display:none;\" id=\"token\">".$_['requesttoken']."</span>";
if($_['carnet_display_fullscreen']==="yes"){
-
+
$file = str_replace('</head>', "
<link rel=\"apple-touch-icon-precomposed\" href=\"".image_path('', 'favicon-touch.png')."\" />
<link rel=\"icon\" href=\"".image_path('', 'favicon.ico')."\">
<link rel=\"mask-icon\" sizes=\"any\" href=\"".image_path('', 'favicon-mask.svg')."\" color=\"".$theme->getColorPrimary()."\">
<link rel=\"manifest\" href=\"".image_path('', 'manifest.json')."\">
- <script src=\"compatibility/nextcloud/fullscreen.js?v="+$appVersion+"\"></script>
+ <script src=\"compatibility/nextcloud/fullscreen.js?v=".$appVersion."\"></script>
</head>", $file);
if($_['nc_version']>=16)
style("carnet","../templates/CarnetElectron/compatibility/nextcloud/nc16");