Merge pull request #11759 from nextcloud/feature/11504/sharing-favicon

Use default favicon on sharing pages
This commit is contained in:
Morris Jobke 2018-10-12 10:30:21 +02:00 committed by GitHub
commit b5753d0efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');