mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 21:18:46 +02:00
N°6047 - Make iTop scripts work by HTTP via token with specific scopes (#494)
* N°6047 - Make iTop scripts work by HTTP via token with specific scopes * Update core/contexttag.class.inc.php --------- Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
@@ -548,6 +548,12 @@ function DoExport(WebPage $oP, BulkExport $oExporter, $bInteractive = false)
|
||||
// Command Line mode
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
///
|
||||
/**
|
||||
* @since 3.1.0 N°6047
|
||||
*/
|
||||
$oCtx = new ContextTag(ContextTag::TAG_EXPORT);
|
||||
|
||||
if (utils::IsModeCLI()) {
|
||||
SetupUtils::CheckPhpAndExtensionsForCli(new CLIPage('iTop - Export'));
|
||||
|
||||
@@ -722,4 +728,4 @@ catch (Exception $e) {
|
||||
$oP->add('Error: '.utils::HtmlEntities($e->getMessage()));
|
||||
IssueLog::Error(utils::HtmlEntities($e->getMessage())."\n".$e->getTraceAsString());
|
||||
$oP->output();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user