mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Unify lang and locale config files
This commit is contained in:
parent
038a158dc7
commit
07d97242ec
7 changed files with 26 additions and 41 deletions
|
|
@ -449,7 +449,7 @@ class HTMLDisplayHandler
|
|||
$locales = (include \RX_BASEDIR . 'common/defaults/locales.php');
|
||||
if (isset($locales[$lang_type]))
|
||||
{
|
||||
Context::addOpenGraphData('og:locale', $locales[$lang_type]);
|
||||
Context::addOpenGraphData('og:locale', $locales[$lang_type]['locale']);
|
||||
}
|
||||
if ($page_type === 'article' && $oDocument->getLangCode() !== $lang_type && isset($locales[$oDocument->getLangCode()]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue