remove makefile

This commit is contained in:
osaajani 2020-02-18 20:03:32 +01:00
parent f955cf3db0
commit 38a8b023cb
276 changed files with 0 additions and 138 deletions

17
index.php Executable file
View file

@ -0,0 +1,17 @@
<?php
require_once(__DIR__ . '/descartes/load.php');
############
# SESSIONS #
############
session_name(SESSION_NAME);
session_start();
//Create csrf token if it didn't exist
if (!isset($_SESSION['csrf']))
{
$_SESSION['csrf'] = str_shuffle(uniqid().uniqid());
}
//Routing current query
descartes\Router::route(ROUTES, $_SERVER['REQUEST_URI']);