フォーク元 mougnibas/archinsa
bon bah c'était pas ça :(
このコミットが含まれているのは:
コミット
982ac1e529
2個のファイルの変更、2行の追加、3行の削除
4
api.php
4
api.php
|
@ -185,10 +185,10 @@
|
|||
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"]]) );
|
||||
break;
|
||||
}*/
|
||||
}
|
||||
|
||||
try{
|
||||
ajouter_doc($_POST);
|
||||
|
|
1
bdd.php
1
bdd.php
|
@ -48,7 +48,6 @@ function ajouter_doc($request){
|
|||
|
||||
global $conn;
|
||||
|
||||
print_r($request);
|
||||
|
||||
// Check connection
|
||||
if ($conn->connect_error) {
|
||||
|
|
読み込み中…
新しいイシューから参照