test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent cb61e661b7
commit 32e7a9bcb4

@ -37,7 +37,7 @@ class Autoload
$dir =array('Model/','./','Config/','Controller/','Metier/', 'Factory/'); $dir =array('Model/','./','Config/','Controller/','Metier/', 'Factory/');
foreach ($dir as $d){ foreach ($dir as $d){
$file=$rep.$d.$filename; $file=$rep.$d.$filename;
// echo $file; echo $file."\n";
if (file_exists($file)) if (file_exists($file))
{ {
include $file; include $file;

@ -8,10 +8,9 @@ class VisitorModel
function __construct() function __construct()
{ {
try { try {
require_once('Controller/EnigmeGateway.php');
echo 'model1'; echo 'model1';
global $error, $view, $rep; global $error, $view, $rep;
$enigme_gateway = new EnigmeGateway(); // $this->enigme_gateway = new EnigmeGateway();
// $this->partie_gateway = new PartieGateway(); // $this->partie_gateway = new PartieGateway();
// $this->utilisateur_gateway = new UtilisateurGateway(); // $this->utilisateur_gateway = new UtilisateurGateway();
} catch (Exception $e) { } catch (Exception $e) {

Loading…
Cancel
Save