mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
Move to raspisms dir
This commit is contained in:
parent
34a6f7de65
commit
40fccf133c
278 changed files with 109 additions and 2020 deletions
17
index.php
17
index.php
|
@ -1,17 +0,0 @@
|
|||
<?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