/** * * Sets the default success and failure messages. * * @return void * */ protected function _preConfig() { parent::_preConfig(); $this->_Solar_Form['success'] = $this->locale('SUCCESS_FORM'); $this->_Solar_Form['failure'] = $this->locale('FAILURE_FORM'); }
/** * * Modifies the default config. * * @return void * */ protected function _preConfig() { parent::_preConfig(); $output = PHP_SAPI == 'cli' ? 'text' : 'html'; $this->_Solar_Debug_Var['output'] = $output; }