mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
New data model integration: fully modular setup based on the "modules"
SVN:trunk[511]
This commit is contained in:
@@ -127,7 +127,7 @@ try
|
||||
|
||||
$oDataLoader->LoadFile($sFileName);
|
||||
$sResult = sprintf("loading of %s done. (Overall %d %% completed).", basename($sFileName), $iPercent);
|
||||
echo $sResult;
|
||||
//echo $sResult;
|
||||
SetupWebPage::log_info($sResult);
|
||||
|
||||
if ($sSessionStatus == 'end')
|
||||
@@ -138,6 +138,7 @@ try
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
header("HTTP/1.0 500 Internal server error.");
|
||||
echo "<p>An error happened while loading the data</p>\n";
|
||||
echo '<p>'.$e."</p>\n";
|
||||
SetupWebPage::log_error("An error happened while loading the data. ".$e);
|
||||
|
||||
Reference in New Issue
Block a user