src/Common/Controller/Base.php
protected function setGlobalCss()
    {
        $oAsset     = Factory::service('Asset');
        $sCustomCss = appSetting('site_custom_css', 'site');
        if (!empty($sCustomCss)) {
            $oAsset->inline($sCustomCss, 'CSS');
        }
    }
protected function setGlobalCss()
    {
        $oAsset     = Factory::service('Asset');
        $sCustomCss = appSetting('site_custom_css', 'site');
        if (!empty($sCustomCss)) {
            $oAsset->inline($sCustomCss, 'CSS');
        }
    }
protected function setGlobalCss ( ) { $ oAsset = Factory :: service ( 'Asset' ) ; $ sCustomCss = appSetting ( 'site_custom_css' , 'site' ) ; if ( ! empty ( $ sCustomCss ) ) { $ oAsset -> inline ( $ sCustomCss , 'CSS' ) ; } }
Sets global CSS

@throws \Nails\Common\Exception\FactoryException
Sets global CSS