mail func added, post route added, more css

This commit is contained in:
2023-04-13 17:39:50 +02:00
parent b7721daa00
commit 8065ab134d
6 changed files with 99 additions and 12 deletions

View File

@ -3,6 +3,7 @@ session_start();
$prod = false;
require_once("./libraries/router.php");
require_once("./libraries/console.php");
// Display Errors
ini_set('display_startup_errors', 1);
@ -70,9 +71,11 @@ if($prod) { ?>
<section class="content">
<?php
$R = new Router();
$R->route('/', 'home');
$R->route('/home', 'home');
$R->route('/domu', 'home');
$R->route('GET', '/', 'home');
$R->route('GET', '/home', 'home');
$R->route('GET', '/domu', 'home');
$R->route('POST', '/contact/send', 'contact');
$R = null;
?>