correction in webfinger.php activation trap

This commit is contained in:
Michiel@unhosted 2011-09-12 14:59:22 +02:00
parent f928d4af56
commit 6e569c5ed1

View file

@ -1,5 +1,5 @@
<?php
if($_SERVER['SCRIPT_NAME'] == '/.well-known/host-meta.php') {
if($_SERVER['SCRIPT_NAME'] == '/.well-known/webfinger.php') {
header("Access-Control-Allow-Origin: *");
} else {
header('Please-first: activate');