bon bah c'était pas ça :(

This commit is contained in:
thaaoblues 2024-01-16 18:05:45 +01:00
parent 57de482cd9
commit 982ac1e529
2 changed files with 2 additions and 3 deletions

View file

@ -185,10 +185,10 @@
case "aj_doc": case "aj_doc":
/*if(!$csrf->validate($context='televersement',$_POST["jeton-csrf"])){ if(!$csrf->validate($context='televersement',$_POST["jeton-csrf"])){
echo( json_encode(["status"=> "2","msg"=>"jeton csrf manquant.".$_POST["jeton-csrf"]]) ); echo( json_encode(["status"=> "2","msg"=>"jeton csrf manquant.".$_POST["jeton-csrf"]]) );
break; break;
}*/ }
try{ try{
ajouter_doc($_POST); ajouter_doc($_POST);

View file

@ -48,7 +48,6 @@ function ajouter_doc($request){
global $conn; global $conn;
print_r($request);
// Check connection // Check connection
if ($conn->connect_error) { if ($conn->connect_error) {