Files
grzanieplus.pl/plugins/stSocialLinksPlugin/modules/stSocialLinksFrontend/actions/components.class.php
2025-03-12 17:06:23 +01:00

16 lines
405 B
PHP

<?php
class stSocialLinksFrontendComponents extends sfComponents
{
public function executeShow()
{
$config = stConfig::getInstance($this->getContext(), 'stSocialLinksBackend');
$config->load();
if (!$config->get('enable'))
{
return sfView::NONE;
}
$this->config = $config;
$this->smarty = new stSmarty('stSocialLinksFrontend');
}
}