Providers/ThemeServiceProvider.php
private function setActiveTheme()
    {
        if ($this->inAdministration()) {
            $themeName = $this->app['config']->get('society.core.core.admin-theme');

            return $this->app['stylist']->activate($themeName, true);
        }

        return $this->app['stylist']->activate($this->app['config']->get('society.core.core.frontend-theme'), true);
    }
private function setActiveTheme()
    {
        if ($this->inAdministration()) {
            $themeName = $this->app['config']->get('society.core.core.admin-theme');

            return $this->app['stylist']->activate($themeName, true);
        }

        return $this->app['stylist']->activate($this->app['config']->get('society.core.core.frontend-theme'), true);
    }
private function setActiveTheme ( ) { if ( $ this -> inAdministration ( ) ) { $ themeName = $ this -> app [ 'config' ] -> get ( 'society.core.core.admin-theme' ) ; return $ this -> app [ 'stylist' ] -> activate ( $ themeName , true ) ; } return $ this -> app [ 'stylist' ] -> activate ( $ this -> app [ 'config' ] -> get ( 'society.core.core.frontend-theme' ) , true ) ; }
Set the active theme based on the settings.
Set the active theme based on the settings .