mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-11-25 11:31:04 +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();
|
||
|
?>
|