on s'arrete pour ce soir il est 00h05 quand meme
This commit is contained in:
parent
4f86bd2660
commit
082b1ae99a
7 changed files with 306 additions and 8 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue