Add KPIs to search

This commit is contained in:
Eric
2019-06-11 08:45:55 +02:00
parent 85653c9ffc
commit e4b097b196

View File

@@ -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();