correct error in error management !

This commit is contained in:
Yoggzo 2016-03-21 10:19:26 +01:00
parent 3216a69b75
commit 1fa4dcbab6
2 changed files with 11 additions and 12 deletions

View file

@ -15,7 +15,7 @@ $opt['protected'] = false;
$opt['minRam'] = 10; $opt['minRam'] = 10;
//$App->setPostParam('id', 'sdfihlus154dfhj'); //$App->setPostParam('id', 'sdfihlus154dfhj');
$err = $image->action("createImage"); //$err = $image->action("createImage");
//Liste des images //Liste des images
@ -35,16 +35,15 @@ foreach($images as $i){
echo "</br>"; echo "</br>";
echo "Erreur capturée: "; echo "Erreur capturée: ";
echo "</br>"; echo "</br>";
/* /*
//$App->setPostParam('id', $recup['id']); $App->setPostParam('id', 354);
$App->setPostParam('id', 'sdfihlus154dfhj'); $err = $image->action("deleteImage");
$err = $image->action("detailsImage"); $temp = $App->show();
$temp = $App->show(); $ret = json_decode($temp, true)["Images"];
$ret = json_decode($temp, true)["Images"]; echo $ret['id'];
echo $ret['id']; */
*/
//$App->getPostParam("id");

View file

@ -34,7 +34,7 @@ Class errorManagement{
} }
public function OtherException($error){ public function OtherException($error){
$this->app->setOutput("Error", $error->getMessage); $this->app->setOutput("Error", $error->getMessage());
} }