From 026ec04c78c0704c9218336101e049d3800d53e4 Mon Sep 17 00:00:00 2001
From: filippo.bertilotti <filippobertilotti@gmail.com>
Date: Mon, 06 May 2024 10:11:40 +0200
Subject: [PATCH] riorganizzazione project, creazione controller (parte 12)

---
 index.php |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/index.php b/index.php
index 6d5a3fb..cde5a61 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,5 @@
 <?php
-    require "model.php";
-    
-    $model = new Model;
-    $products = $model->getData();
 
-    require "view.php";
\ No newline at end of file
+require "controller.php";
+$controller = new Controller;
+$controller->index();
\ No newline at end of file

--
Gitblit v1.8.0