mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-01 10:37:31 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
53f247b44d
@ -34,9 +34,6 @@ register_shutdown_function('serverError');
|
||||
|
||||
include_once __DIR__.'/../core.php';
|
||||
|
||||
// Disabilita la sessione per l'API
|
||||
session_write_close();
|
||||
|
||||
// Permesso di accesso all'API da ogni dispositivo
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS');
|
||||
@ -67,3 +64,5 @@ if (json_last_error() == JSON_ERROR_NONE) {
|
||||
|
||||
// Stampa dei risultati
|
||||
echo $response;
|
||||
|
||||
Auth::logout();
|
Loading…
Reference in New Issue
Block a user