trendschau 5 rokov pred
rodič
commit
70be33acd2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      system/system.php

+ 1 - 1
system/system.php

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