add seiralmanager #66
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
include_once "../../global.inc.php";
|
||||
require_once PATH_API . "/PisApi.php";
|
||||
|
||||
$headers = apache_request_headers();
|
||||
// instance a new api
|
||||
$app = new \api\PisApi();
|
||||
$app = new \api\PisApi($headers);
|
||||
|
||||
// HTTP-Get-Method
|
||||
$app->get(\api\PisApi::$routeParameterPids, function ($pid) use ($app) {
|
||||
|
||||
Reference in New Issue
Block a user