Skip to content
Snippets Groups Projects
Commit 6e6be3aa authored by Michiel de Jong's avatar Michiel de Jong
Browse files

putting activation inside activate.php

parent 994c7f3d
No related branches found
No related tags found
No related merge requests found
apps/user_webfinger/
\ No newline at end of file
<?php
$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.";
} 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;";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment