initial commit file manager project

This commit is contained in:
2021-05-23 09:54:48 +02:00
commit d276d45b7a
20 changed files with 966 additions and 0 deletions

12
WebService/router.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
header("Access-Control-Allow-Origin: *");
if($_SERVER["REQUEST_METHOD"] == "OPTIONS"){
http_response_code(200);
header("Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE");
header("Access-Control-Allow-Headers: authorization, origin, content-type, accept, x-requested-with");
header("Access-Control-Max-Age: 3600");
} else {
include "index.php";
}
?>