Fix title of rss file
This commit is contained in:
parent
dc3b5846fb
commit
1a8b10328f
@ -149,8 +149,10 @@ if ($rss) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($buildfile) {
|
if ($buildfile) {
|
||||||
$langs->load("other");
|
$outputlangs = new Translate('', $conf);
|
||||||
$title = $desc = $langs->transnoentities('LatestBlogPosts');
|
$outputlangs->setDefaultLang($l);
|
||||||
|
$outputlangs->loadLangs(array("main", "other"));
|
||||||
|
$title = $desc = $outputlangs->transnoentities('LatestBlogPosts');
|
||||||
|
|
||||||
// Create temp file
|
// Create temp file
|
||||||
$outputfiletmp = tempnam($dir_temp, 'tmp'); // Temporary file (allow call of function by different threads
|
$outputfiletmp = tempnam($dir_temp, 'tmp'); // Temporary file (allow call of function by different threads
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user