Update gitignore

This commit is contained in:
BRAMAS Arthur
2025-10-10 10:58:21 +02:00
parent ee976b8a6e
commit 8972a15106
4 changed files with 15 additions and 9 deletions

View File

@@ -1,6 +1,10 @@
<?php
session_start();
// require_once __DIR__."/../utils_inc/inc_pdo.php"; placé dans le routeur
require_once __DIR__."/../controller/AuthController.php";
$pdo = new PDO('mysql:host=mysqlsrv;dbname=contrib', "contrib_root", "123abc");
define("BASE_URL","/contribEvo/");
//index.php?route=maRoute&param1=truc
@@ -29,6 +33,8 @@
if ($route=="handleConnForm") {
$ctr = new AuthController();
$ctr->handleConnForm();
$ctr->handleConnForm($pdo);
exit();
}
echo"UNKNOWN ROUTE ALERT ALERT ALERT";