mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-11-01 09:03:10 +01:00
14 lines
234 B
PHP
14 lines
234 B
PHP
<?php
|
|
use router\Router;
|
|
use core\Core;
|
|
|
|
require __DIR__. '/vendor/autoload.php';
|
|
#phpinfo();
|
|
$core = new Core();
|
|
$router = new Router();
|
|
$router->setCore($core);
|
|
$router->setPost($_POST);
|
|
$router->setGet($_GET);
|
|
$router->route();
|
|
?>
|