mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Clean up ModuleController::replaceDefinedLangCode()
This commit is contained in:
parent
2e6e097272
commit
f8859769e8
15 changed files with 64 additions and 77 deletions
|
|
@ -175,14 +175,13 @@ class rssView extends rss
|
|||
|
||||
$info->id = $channel_url;
|
||||
$info->feed_title = $config->feed_title;
|
||||
$info->title = $obj->title ?: $info->title;
|
||||
$info->title = Context::replaceUserLang($obj->title ?: $info->title);
|
||||
$info->description = $obj->description ?: $info->description;
|
||||
$info->language = Context::getLangType();
|
||||
$info->site_url = Context::getRequestUri();
|
||||
$info->date_r = date('r');
|
||||
$info->date_c = date('c');
|
||||
$info->image = $config->image ? Context::getRequestUri() . $config->image : '';
|
||||
getController('module')->replaceDefinedLangCode($info->title);
|
||||
|
||||
Context::set('info', $info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue