Task #1420: Fonction error_log manquante

Generalisation de la fonction
This commit is contained in:
Dany De Bontridder 2017-03-24 23:53:47 +01:00
parent 9e7e7f51e9
commit 379a24e5f2
38 changed files with 71 additions and 19 deletions

View file

@ -54,6 +54,7 @@ if ( $action_frm == 'update')
$show_menu=1;
} catch (Exception $e)
{
record_log($e->getTraceAsString());
alert($e->getMessage());
}
}
@ -77,6 +78,7 @@ if ($action_frm == 'delete' )
}
catch (Exception $e)
{
record_log($e->getTraceAsString());
alert ($e->getMessage());
}
@ -97,6 +99,7 @@ if (isset($_POST['add']))
}
catch (Exception $e)
{
record_log($e->getTraceAsString());
alert($e->getMessage());
}
}
@ -130,6 +133,7 @@ switch ($sa)
}
catch (Exception $e)
{
record_log($e->getTraceAsString());
alert($e->getMessage());
}
break;