Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 576

Přidáno uživatelem Roman Ševčík před více než 14 roky(ů)

öprava chzbz v upgrade_sql.php

Zobrazit rozdíly:

freenetis/trunk/kohana/application/config/email.php
* @param string sendmail: executable path, with -bs or equivalent attached
* @param array smtp: hostname, (username), (password), (port), (auth), (encryption)
*/
$config['options'] = array('hostname'=>'smtp.hkfree.org', 'port'=>'25');
$config['options'] = array('hostname'=>'smtp.slfree.czf', 'port'=>'25');
freenetis/trunk/kohana/application/controllers/email.php
if ($swift->send($message, $recipients, $from))
{
url::redirect(url::base().'members/show/'.$this->input->post('email_member_id'));
url::redirect(url_lang::base().'members/show/'.$this->input->post('email_member_id'));
}
else
{
freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql.php
// array of sql queries that upgrade database
$upgrade_sql[get_SVN_rev()] = array(
"INSERT INTO `config` (`name`, `value`) VALUES
('email_default_email', '');
"
//zatim tu nic neni
);
?>

Také k dispozici: Unified diff