mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
Internal: enable/disable data localization
SVN:trunk[4289]
This commit is contained in:
@@ -53,6 +53,11 @@ if (UserRights::GetContactId() == 0)
|
||||
$oContex = new ContextTag('GUI:Portal');
|
||||
$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
|
||||
$bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user