Fixes to OSB to work with KH 3.3
This commit is contained in:
@@ -31,7 +31,7 @@ class Email {
|
||||
}
|
||||
|
||||
// Load default configuration
|
||||
($config === NULL) and $config = Kohana::config('email');
|
||||
($config === NULL) and $config = Kohana::$config->load('email');
|
||||
|
||||
switch ($config['driver'])
|
||||
{
|
||||
@@ -142,4 +142,4 @@ class Email {
|
||||
return Email::$mail->send($message);
|
||||
}
|
||||
|
||||
} // End email
|
||||
} // End email
|
||||
|
Reference in New Issue
Block a user