correction in webfinger.php activation trap

remotes/origin/stable
Michiel@unhosted 14 years ago
parent f928d4af56
commit 6e569c5ed1
  1. 2
      apps/user_webfinger/webfinger.php

@ -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');

Loading…
Cancel
Save