inclusion de security/session modifiée dans index.php
This commit is contained in:
parent
a338e9c498
commit
47799cde77
|
@ -1,4 +1,4 @@
|
||||||
<?php session_start();
|
<?php require('manager/security.php'); session_init();
|
||||||
|
|
||||||
$LOGIN_postAreSet = isset($_POST['username']) && isset($_POST['password']); // variables POST existent
|
$LOGIN_postAreSet = isset($_POST['username']) && isset($_POST['password']); // variables POST existent
|
||||||
$LOGIN_postStrings = $LOGIN_postAreSet && is_string($_POST['username']) && is_string($_POST['password']); // sont toutes 2 des strings
|
$LOGIN_postStrings = $LOGIN_postAreSet && is_string($_POST['username']) && is_string($_POST['password']); // sont toutes 2 des strings
|
||||||
|
|
Loading…
Reference in New Issue