library/Fiktiv/Controller/Plugin/Language.php: get default database.
This commit is contained in:
parent
cafd63b4a3
commit
ecc33faba9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class Fiktiv_Controller_Plugin_Language extends Zend_Controller_Plugin_Abstract
|
|||
|
||||
Zend_Registry::set('Zend_Locale', new Zend_Locale($lookup[$lang]));
|
||||
|
||||
$database = $bootstrap->getResource('database');
|
||||
$database = Zend_Db_Table::getDefaultAdapter();
|
||||
$database->query("SET lc_time_names = ?;", $lookup[$lang]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue