/** * This method returns a local pathname to an asset. * * The logo and favicon can be overwritten * * @param string $assetName * * @return string */ protected function getLocalAssetPath($assetName) { // load path to logo from parameters if ($assetName === 'sabredav.png' && $this->getBrowserConfig('browser_logo')) { return $this->getBrowserConfig('browser_logo'); } elseif ($assetName === 'favicon.ico' && $this->getBrowserConfig('favicon')) { return $this->getBrowserConfig('favicon'); } return parent::getLocalAssetPath($assetName); }