This commit is contained in:
2024-11-03 10:12:33 +01:00
parent 571efe1ad9
commit 1e6f519aee
8 changed files with 37 additions and 4 deletions

View File

@ -12,6 +12,7 @@ class HomeController extends AbstractController
public function home()
{
$items=null;
dump($this->getParameter("appNinegateactivate"));
if($this->getParameter("appNinegateactivate")) {
// Entete
$headers = ['Accept' => 'application/json', 'key' => $this->getParameter("appNinegatesecret"), 'only'=>'items'];
@ -29,7 +30,6 @@ class HomeController extends AbstractController
catch (\Exception $e) {
}
}
dump($items);
$em = $this->getDoctrine()->getManager();
$users = $em->getRepository("App:User")->findBy([],["pseudo"=>"ASC"]);