mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
remove makefile
This commit is contained in:
parent
f955cf3db0
commit
38a8b023cb
276 changed files with 0 additions and 138 deletions
17
index.php
Executable file
17
index.php
Executable 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']);
|
Loading…
Add table
Add a link
Reference in a new issue