partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit b29b94dfae15be6856323227feac69419a15542c
parent 356166841f59f2dd55015e86ad76573f3aefb101
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu, 22 Sep 2011 03:13:38 +0200

Added "Access-Control-Allow-Origin" header for mobile apps

Diffstat:
Mfrontend/rest.php | 2+-
Mfrontend/service.php | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/frontend/rest.php b/frontend/rest.php @@ -9,7 +9,7 @@ include("../src/de/RaumZeitLabor/PartKeepr/PartKeepr.php"); header("Content-Type: text/html; charset=UTF-8"); header("Cache-Control: no-cache, must-revalidate"); - +header("Access-Control-Allow-Origin: *"); PartKeepr::initialize(""); /** diff --git a/frontend/service.php b/frontend/service.php @@ -9,6 +9,7 @@ include("../src/de/RaumZeitLabor/PartKeepr/PartKeepr.php"); header("Content-Type: text/html; charset=UTF-8"); header("Cache-Control: no-cache, must-revalidate"); +header("Access-Control-Allow-Origin: *"); PartKeepr::initialize("");