summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-10-11 12:04:03 +0200
committerJulius Härtl <jus@bitgrid.net>2018-10-11 16:29:24 +0200
commit2538079876a39f8ac2c2cae7d90e146fa52883c9 (patch)
treeabb2e88390b842e0d8ce08ab7b8f9909df1af70c /apps/theming/lib
parent12f921f0434ea67ceb5467eb933cb186454e2c2b (diff)
downloadnextcloud-server-2538079876a39f8ac2c2cae7d90e146fa52883c9.tar.gz
nextcloud-server-2538079876a39f8ac2c2cae7d90e146fa52883c9.zip
Use default favicon on sharing pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/ThemingDefaults.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 0573f7b84d7..53198fe2b81 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -308,7 +308,7 @@ class ThemingDefaults extends \OC_Defaults {
* @return bool|string false if image should not replaced, otherwise the location of the image
*/
public function replaceImagePath($app, $image) {
- if($app==='') {
+ if ($app === '' || $app === 'files_sharing') {
$app = 'core';
}
$cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0');