Starting using the new files I've already worked on
Esse commit está contido em:
+17
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
$_REQ= Array();
|
||||
$_REQ['request_method']= $_SERVER['REQUEST_METHOD'];
|
||||
$_REQ['env']= 'http';
|
||||
switch($_REQ['request_method'])
|
||||
{
|
||||
case 'GET' : $_REQ['data']= $_GET;
|
||||
break;
|
||||
case 'POST': $_REQ['data']= $_POST;
|
||||
break;
|
||||
case 'PUT' : parse_str(file_get_contents('php://input'), $put_vars);
|
||||
$_REQ['data'] = $put_vars;
|
||||
break;
|
||||
default:
|
||||
$_REQ['data']= null;
|
||||
}
|
||||
include('mind3rd/API/utils.php');
|
||||
Referência em uma Nova Issue
Bloquear um usuário