mirror of
https://github.com/typemill/typemill.git
synced 2025-07-30 19:00:32 +02:00
translation
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user