mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-08-07 09:51:58 +00:00
il n'y a pas eu de leak de mot de passe ici ;)
This commit is contained in:
4
project/assets/php/router.php
Normal file → Executable file
4
project/assets/php/router.php
Normal file → Executable file
@@ -12,11 +12,11 @@ class Router {
|
||||
|
||||
//definit le router
|
||||
public function __construct() {
|
||||
//TODO faire que si un router existe daj<EFBFBD> retourner le routeur existant
|
||||
//TODO faire que si un router existe déjà retourner le routeur existant
|
||||
Router::$router = $this;
|
||||
}
|
||||
|
||||
//fonction static pour recuperer un router d<EFBFBD>j<EFBFBD> cr<EFBFBD><EFBFBD>
|
||||
//fonction static pour recuperer un router déjà crée
|
||||
public static function getRouter() {
|
||||
return Router::$router;
|
||||
}
|
||||
|
Reference in New Issue
Block a user