*/ 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; } }