]> source.dussan.org Git - nextcloud-server.git/commitdiff
correction in webfinger.php activation trap
authorMichiel@unhosted <michiel@unhosted.org>
Mon, 12 Sep 2011 12:59:22 +0000 (14:59 +0200)
committerMichiel@unhosted <michiel@unhosted.org>
Mon, 12 Sep 2011 12:59:22 +0000 (14:59 +0200)
apps/user_webfinger/webfinger.php

index c5f6680193caff886d69a2e7fb38147fe50e117d..269bb4758ed1c5b2ec31ee00b606551a366f1d29 100644 (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');