Website/public/index.php

14 lines
185 B
PHP

<?php
require '../vendor/autoload.php';
require '../helpers.php';
use WillySoft\Route as App;
App::get('/', function() {
view('home');
});
http_response_code(404);
view('404');