Files
2025-03-12 17:06:23 +01:00

37 lines
1.0 KiB
PHP

<?php
/**
* SOTESHOP/appWishesPlugin
*
*
* @package appWishesPlugin
* @author Bartosz Alejski <whiteface@whiteface.pl>
*/
class appWishesFrontendActions extends sfActions
{
public function executeShowWishesSite()
{
if(stTheme::is_responsive()){
$this->redirect('/');
}
$this->smarty = new stSmarty($this->getModuleName());
$config = stConfig::getInstance($this->getContext(), 'appWishesSiteConfigBackend');
$this->config = $config->load();
$theme = ThemePeer::doSelectActive();
$this->version = $theme->getVersion();
$configBig = stConfig::getInstance($this->getContext(), 'appWishesBigConfigBackend');
$this->configBig = $configBig->load();
$configBanner['wishes_site_label'] = $config->get('wishes_site_label', null, true);
$configBanner['wishes_site_description'] = $config->get('wishes_site_description', null, true);
$this->configBanner = $configBanner;
}
}