|
@@ -53,6 +53,11 @@ if (UserRights::GetContactId() == 0)
|
|
$oContex = new ContextTag('GUI:Portal');
|
|
$oContex = new ContextTag('GUI:Portal');
|
|
$oContex2 = new ContextTag('Portal:' . PORTAL_MODULE_ID);
|
|
$oContex2 = new ContextTag('Portal:' . PORTAL_MODULE_ID);
|
|
|
|
|
|
|
|
+if (!defined('DISABLE_DATA_LOCALIZER_PORTAL'))
|
|
|
|
+{
|
|
|
|
+ ApplicationContext::SetPluginProperty('QueryLocalizerPlugin', 'language_code', UserRights::GetUserLanguage());
|
|
|
|
+}
|
|
|
|
+
|
|
// Checking if debug param is on
|
|
// Checking if debug param is on
|
|
$bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );
|
|
$bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );
|
|
|
|
|