mirror of
https://github.com/typemill/typemill.git
synced 2025-01-17 21:38:25 +01:00
translation
This commit is contained in:
parent
62b3a07d6b
commit
70be33acd2
@ -221,7 +221,7 @@ $container['view'] = function ($container) use ($uri)
|
||||
/******************************
|
||||
* LOAD TRANSLATIONS *
|
||||
******************************/
|
||||
if(isset($uri->getPath) && (strpos($uri->getPath(),'/tm/') !== false OR strpos($uri->getPath(),'/setup') !== false))
|
||||
if(isset($uri->getPath()) && (strpos($uri->getPath(),'/tm/') !== false OR strpos($uri->getPath(),'/setup') !== false))
|
||||
{
|
||||
// Admin environment labels
|
||||
$labels = Typemill\Translations::loadTranslations('admin');
|
||||
|
Loading…
x
Reference in New Issue
Block a user