mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Add KPIs to search
This commit is contained in:
@@ -35,6 +35,10 @@ require_once(APPROOT.'/application/wizardhelper.class.inc.php');
|
||||
|
||||
try
|
||||
{
|
||||
$oKPI = new ExecutionKPI();
|
||||
$oKPI->ComputeAndReport('Data model loaded');
|
||||
$oKPI = new ExecutionKPI();
|
||||
|
||||
if (LoginWebPage::EXIT_CODE_OK != LoginWebPage::DoLoginEx(null /* any portal */, false, LoginWebPage::EXIT_RETURN))
|
||||
{
|
||||
throw new SecurityException('You must be logged in');
|
||||
@@ -151,4 +155,6 @@ try
|
||||
// note: transform to cope with XSS attacks
|
||||
echo '<html><head></head><body><div>' . htmlentities($e->GetMessage(), ENT_QUOTES, 'utf-8') . '</div></body></html>';
|
||||
IssueLog::Error($e->getMessage()."\nDebug trace:\n".$e->getTraceAsString());
|
||||
}
|
||||
}
|
||||
|
||||
ExecutionKPI::ReportStats();
|
||||
Reference in New Issue
Block a user