Initial commit

This commit is contained in:
whatever127
2019-09-14 17:38:35 +02:00
commit b925e9a5f6
12 changed files with 313 additions and 0 deletions

13
shared/main.php Normal file
View File

@ -0,0 +1,13 @@
<?php
$webApiVersion = '0.1.0';
function sendResponse($apiResponse) {
global $webApiVersion;
$response = [
'response' => $apiResponse,
'jsonApiVersion' => $webApiVersion,
];
echo json_encode($response);
}