Internal: context tags to (programmatically) identify the context of the execution.

SVN:trunk[4259]
This commit is contained in:
Denis Flaven
2016-06-23 14:57:37 +00:00
parent c177264113
commit 18de167d5e
8 changed files with 91 additions and 2 deletions

View File

@@ -49,6 +49,9 @@ if (UserRights::GetContactId() == 0)
die(Dict::S('Portal:ErrorNoContactForThisUser'));
}
$oCtx = new ContextTag('GUI:Portal');
$oCtx2 = new ContextTag('Portal:'.PORTAL_MODULE_ID);
// Checking if debug param is on
$bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );