summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLode Hoste <zillode@zillode.be>2015-02-11 20:09:03 +0100
committerLode Hoste <zillode@zillode.be>2015-02-11 20:09:03 +0100
commit27b35500a72f1ef4185b6df8742903fddec39442 (patch)
treeb6c16ff15b536c1b773ba1387155ef98f8011767 /core/templates
parent99a97649f21cc9914d7eddbac68b428dc2a0da0d (diff)
downloadnextcloud-server-27b35500a72f1ef4185b6df8742903fddec39442.tar.gz
nextcloud-server-27b35500a72f1ef4185b6df8742903fddec39442.zip
Disable application-specific favicons for non-user pages
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.base.php4
-rw-r--r--core/templates/layout.guest.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index aeebc2d6439..96229fd370a 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -13,8 +13,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
- <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>" />
+ <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
+ <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
<?php foreach ($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
<?php endforeach; ?>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index c1a75447210..c799205b7cf 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -14,8 +14,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
- <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>" />
+ <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
+ <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
<?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
<?php endforeach; ?>