add seiralmanager #66

This commit is contained in:
stubbfel
2013-07-01 17:47:45 +02:00
parent 802b561187
commit aa03fdcd1b
10 changed files with 83 additions and 23 deletions

View File

@@ -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) {