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