Browse Source

Use default favicon on sharing pages

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/11759/head
Julius Härtl 8 years ago
parent
commit
2538079876
No known key found for this signature in database GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      apps/theming/lib/ThemingDefaults.php

2
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 * @return bool|string false if image should not replaced, otherwise the location of the image
*/ */
public function replaceImagePath($app, $image) { public function replaceImagePath($app, $image) {
if($app==='') {
if ($app === '' || $app === 'files_sharing') {
$app = 'core'; $app = 'core';
} }
$cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0'); $cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0');

Loading…
Cancel
Save