1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 08:39:57 +02:00

Fixes #4826 - redirect dynamic content on static domain.

This commit is contained in:
Cameron
2022-07-19 16:32:33 -07:00
parent 1792aee537
commit c4bcf0a663
4 changed files with 156 additions and 6 deletions

View File

@@ -665,7 +665,7 @@ class news_front
$options['query'] = ['page'=> $page];
}
if(!deftrue('e_FRONTPAGE')) // Use site title when on frontpage.
if(!deftrue('e_FRONTPAGE') && !empty($this->caption)) // Use site title when on frontpage.
{
e107::title($this->caption);
}