summaryrefslogtreecommitdiffstats
path: root/apps/user_webfinger/activate.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_webfinger/activate.php')
-rw-r--r--apps/user_webfinger/activate.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/user_webfinger/activate.php b/apps/user_webfinger/activate.php
index 6302ca0fa7c..547c8e54d32 100644
--- a/apps/user_webfinger/activate.php
+++ b/apps/user_webfinger/activate.php
@@ -1,11 +1,18 @@
<?php
+
+// comment out this line:
+ die("This feature is still experimental. Please comment out this line in the code, then try again\n");
+//
+
+
+
$ownCloudBaseUri = substr($_SERVER['REQUEST_URI'],0, -(strlen('/apps/user_webfinger/activate.php')));
$thisAppDir = __DIR__;
$appsDir = dirname($thisAppDir);
$ownCloudDir = dirname($appsDir);
try{
symlink($thisAppDir, $ownCloudDir.'/.well-known');
- echo "Webfinger should now work.";
+ echo "Webfinger should now work.\n";
} catch(Exception $e) {
- echo "Please create a file called '.well-known in the ownCloud root, give the web server user permission to change it, and retry;";
+ echo "Please create a file called '.well-known in the ownCloud root, give the web server user permission to change it, and retry.\n";
}