1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-30 19:00:32 +02:00

translation

This commit is contained in:
trendschau
2020-07-05 09:23:14 +02:00
parent 62b3a07d6b
commit 70be33acd2

View File

@@ -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');