mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-23 02:04:54 -05:00
Move back i18n init in FreshRSS.php
This commit is contained in:
@@ -26,6 +26,10 @@ class FreshRSS extends Minz_FrontController {
|
||||
// Load context and configuration.
|
||||
FreshRSS_Context::init();
|
||||
|
||||
// Init i18n.
|
||||
Minz_Session::_param('language', FreshRSS_Context::$conf->language);
|
||||
Minz_Translate::init();
|
||||
|
||||
$this->loadStylesAndScripts();
|
||||
$this->loadNotifications();
|
||||
$this->loadExtensions();
|
||||
|
||||
@@ -42,10 +42,6 @@ class FreshRSS_Context {
|
||||
die($e->getMessage());
|
||||
}
|
||||
|
||||
// Init i18n.
|
||||
Minz_Session::_param('language', self::$conf->language);
|
||||
Minz_Translate::init();
|
||||
|
||||
$catDAO = new FreshRSS_CategoryDAO();
|
||||
$entryDAO = FreshRSS_Factory::createEntryDao();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user