git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@57 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-01-29 16:51:39 +00:00
parent ccdece692a
commit 5b0e7d9aa9
3 changed files with 61 additions and 3 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ $app->hook('slim.before.router', function () use ($app, $allowedHost) {
{
$app->halt(403, "Request arrive from host not allowed " . $currentHostRequest );
return;
}*/
}
*/
if(isset($_SERVER['HTTP_ORIGIN']))
header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']);
});