mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
Internal: context tags to (programmatically) identify the context of the execution.
SVN:trunk[4259]
This commit is contained in:
@@ -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') );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user