on s'arrete pour ce soir il est 00h05 quand meme

This commit is contained in:
Yasder5 2026-01-14 23:05:10 +01:00
parent 4f86bd2660
commit 082b1ae99a
7 changed files with 306 additions and 8 deletions

View file

@ -1,10 +1,13 @@
<?php
$strCtrl = $_GET['ctrl']??'project';
$strMethod = $_GET['action']??'home';
$intId = $_GET['id']??null;
$boolError = false;
$strFileName = "../app/controllers/".$strCtrl."_controller.php";
if($intId!=null){
echo $intId;
}
if(file_exists($strFileName)){
require($strFileName);
$strClassName = ucfirst($strCtrl)."Ctrl";