/**
  * loadIcon
  *
  * @param FrontendHandler $frontendHandler frontend handler
  * @return void
  */
 protected function loadIcon(FrontendHandler $frontendHandler)
 {
     $siteConfig = app('xe.site')->getSiteConfig();
     if ($siteConfig['favicon'] !== null) {
         $iconFile = $this->app->make('xe.storage')->get($siteConfig['favicon']);
         if ($iconFile !== null) {
             $iconUrl = $this->app->make('xe.media')->make($iconFile)->url();
             $frontendHandler->icon($iconUrl)->load();
         }
     }
 }
 /**
  * loadIcon
  *
  * @param FrontendHandler $frontendHandler frontend handler
  * @return void
  */
 protected function loadIcon(FrontendHandler $frontendHandler)
 {
     $siteConfig = app('xe.site')->getSiteConfig();
     $icon = $siteConfig->get('favicon.path');
     if ($icon !== null) {
         $frontendHandler->icon($icon)->load();
     }
 }