correct error in error management !
This commit is contained in:
parent
3216a69b75
commit
1fa4dcbab6
2 changed files with 11 additions and 12 deletions
|
@ -15,7 +15,7 @@ $opt['protected'] = false;
|
|||
$opt['minRam'] = 10;
|
||||
|
||||
//$App->setPostParam('id', 'sdfihlus154dfhj');
|
||||
$err = $image->action("createImage");
|
||||
//$err = $image->action("createImage");
|
||||
|
||||
|
||||
//Liste des images
|
||||
|
@ -35,16 +35,15 @@ foreach($images as $i){
|
|||
echo "</br>";
|
||||
echo "Erreur capturée: ";
|
||||
echo "</br>";
|
||||
|
||||
/*
|
||||
//$App->setPostParam('id', $recup['id']);
|
||||
$App->setPostParam('id', 'sdfihlus154dfhj');
|
||||
$err = $image->action("detailsImage");
|
||||
$temp = $App->show();
|
||||
$ret = json_decode($temp, true)["Images"];
|
||||
echo $ret['id'];
|
||||
*/
|
||||
//$App->getPostParam("id");
|
||||
|
||||
/*
|
||||
$App->setPostParam('id', 354);
|
||||
$err = $image->action("deleteImage");
|
||||
$temp = $App->show();
|
||||
$ret = json_decode($temp, true)["Images"];
|
||||
echo $ret['id'];
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ Class errorManagement{
|
|||
}
|
||||
|
||||
public function OtherException($error){
|
||||
$this->app->setOutput("Error", $error->getMessage);
|
||||
$this->app->setOutput("Error", $error->getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue