Optimised Company() Setup() Config() and changed method_directory into URL
This commit is contained in:
@@ -132,7 +132,7 @@ class Email_Template {
|
||||
throw new Kohana_Exception('Component :component has not been configured in :method',array(':component'=>$component,':method'=>__METHOD__));
|
||||
}
|
||||
} else {
|
||||
$sm->setSubject(_('Email from').' '.Company::name());
|
||||
$sm->setSubject(_('Email from').' '.Company::instance()->name());
|
||||
$sm->setBody(print_r($this->email_data['variables'],TRUE),'text/plain');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user