diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_webfinger/host-meta.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_webfinger/host-meta.php b/apps/user_webfinger/host-meta.php index 8e9985a2e10..c3d6f0ed2ca 100644 --- a/apps/user_webfinger/host-meta.php +++ b/apps/user_webfinger/host-meta.php @@ -3,7 +3,7 @@ $hostMetaHeader = array( 'Access-Control-Allow-Origin' => '*', 'Content-Type' => 'application/xrd+json' ); -$ownCloudDir = dirname($appsDir); +$ownCloudDir = dirname(dirname(dirname(__FILE__))); $docRoot = $_SERVER['DOCUMENT_ROOT']; try { $webRoot = substr(realpath($ownCloudDir), strlen(realpath($docRoot))); |