/**
  * Executes an application defined process prior to execution of this sfAction object.
  */
 public function preExecute()
 {
     if (!sfConfig::get('app_rt_comment_active', true)) {
         throw new sfException('Comment module can\'t be used unless configured to be active i.e. app_rt_comment_active = true');
     }
     parent::preExecute();
     sfConfig::set('app_rt_node_title', 'Comment');
     rtTemplateToolkit::setFrontendTemplateDir();
 }
 /**
  * Executes an application defined process prior to execution of this sfAction object.
  *
  * By default, this method is empty.
  */
 public function preExecute()
 {
     parent::preExecute();
     sfConfig::set('app_rt_node_title', 'Site');
     rtTemplateToolkit::setFrontendTemplateDir();
 }
 public function preExecute()
 {
     parent::preExecute();
     sfConfig::set('app_rt_node_title', 'Search');
 }