modif composer

pull/16/head
Maxime POINT 1 year ago
parent 74b55bc189
commit 1c6e1d2c63

@ -32,7 +32,7 @@ class FrontControleur
try { try {
$controller = '\\controleur\\' . $controller; $controller = '\\controleur\\' . $controller;
$controller = new $controller; $controller = new $controller;
if($controller == "\\controleur\\AdminControleur.php"){ if($controller == "\\controleur\\AdminControleur"){
if (!AdminModel::isAdmin()){ if (!AdminModel::isAdmin()){
echo $twig->render('Connection.html'); echo $twig->render('Connection.html');
} }

@ -3,7 +3,7 @@
'name' => '__root__', 'name' => '__root__',
'pretty_version' => 'dev-master', 'pretty_version' => 'dev-master',
'version' => 'dev-master', 'version' => 'dev-master',
'reference' => 'c00c0a1c491c44a1666572f040f9b9df34933d25', 'reference' => '74b55bc18906a4639884ce8f33bd06d1657149b3',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
@ -13,7 +13,7 @@
'__root__' => array( '__root__' => array(
'pretty_version' => 'dev-master', 'pretty_version' => 'dev-master',
'version' => 'dev-master', 'version' => 'dev-master',
'reference' => 'c00c0a1c491c44a1666572f040f9b9df34933d25', 'reference' => '74b55bc18906a4639884ce8f33bd06d1657149b3',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),

Loading…
Cancel
Save