Update gitignore
This commit is contained in:
@@ -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¶m1=truc
|
||||
@@ -29,6 +33,8 @@
|
||||
|
||||
if ($route=="handleConnForm") {
|
||||
$ctr = new AuthController();
|
||||
$ctr->handleConnForm();
|
||||
$ctr->handleConnForm($pdo);
|
||||
exit();
|
||||
}
|
||||
|
||||
echo"UNKNOWN ROUTE ALERT ALERT ALERT";
|
Reference in New Issue
Block a user