test action displayOffer

offres2
Baltazouu 1 year ago committed by Baptiste D
parent 4bbdc49669
commit b27f5f5e98

@ -129,11 +129,10 @@ class UtilisateurControleur
}
if (isset($_FILES['image'])) {
$imgMdl = new ImageModele;
$offreMdl = new OffreModele();
$offerMdl = new OffreModele();
$img = $imgMdl->publierImage();
$offre = $offreMdl->publishOffers($img);
$id = $offre->getImgId();
$offer = $offerMdl->publishOffers($img);
$id = $offer->getImgId();
//echo $twig->render("index.php?action=displayOffer&id=${id}",[]);
return;
}

Loading…
Cancel
Save