diff --git a/database/schema.sql b/database/DDL.sql similarity index 100% rename from database/schema.sql rename to database/DDL.sql diff --git a/index.php b/index.php index e9b7df6..94c145f 100644 --- a/index.php +++ b/index.php @@ -10,8 +10,8 @@ $handler = new RequestHandler($request); $handler->registerRoutes([ new Route('GET', 'products', ['ProductList\View\Product', 'listAll']), - new Route('GET', 'add-product', function() { readfile('add-product.html'); }), - new Route('GET', '', function() { readfile('index.html'); }), + new Route('GET', 'add-product', function() { readfile('static/add-product.html'); }), + new Route('GET', '', function() { readfile('static/index.html'); }), ]); $handler->handle(); diff --git a/add-product.html b/static/add-product.html similarity index 84% rename from add-product.html rename to static/add-product.html index 161c86a..5024d2e 100644 --- a/add-product.html +++ b/static/add-product.html @@ -1,7 +1,7 @@
- +