commit cf4a96d9b37ff3a01257d5b1ea55775a78aaa4fd
parent 0aa0746cd9789de6d613eb17313346cbeaa93a09
Author: Felicitus <felicitus@felicitus.org>
Date: Thu, 22 Sep 2011 03:24:42 +0200
Fixed wrong invocation sequence
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/frontend/rest.php b/frontend/rest.php
@@ -7,10 +7,10 @@ use de\RaumZeitLabor\PartKeepr\PartKeepr,
include("../src/de/RaumZeitLabor/PartKeepr/PartKeepr.php");
-ServiceManager::sendHeaders();
-
PartKeepr::initialize("");
+ServiceManager::sendHeaders();
+
/**
* This script dispatches the request to the ServiceManager.
*
diff --git a/frontend/service.php b/frontend/service.php
@@ -7,10 +7,10 @@ use de\RaumZeitLabor\PartKeepr\PartKeepr;
include("../src/de/RaumZeitLabor/PartKeepr/PartKeepr.php");
-ServiceManager::sendHeaders();
-
PartKeepr::initialize("");
+ServiceManager::sendHeaders();
+
try {
$request = $_REQUEST;