diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 18:00:10 +0400 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 18:59:44 +0400 |
commit | 5276fb69d7fa0be598e082d77ebe00653d0e6cb0 (patch) | |
tree | a1b8c235585f91dbee2049de09ed0c96caea8105 /user_webfinger | |
parent | 54fe98c5be74d761f51413bafe8308a4ae48cb03 (diff) |
fix warning 'unknown var appsDir'
Diffstat (limited to 'user_webfinger')
-rw-r--r-- | user_webfinger/host-meta.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_webfinger/host-meta.php b/user_webfinger/host-meta.php index 8e9985a2e..c3d6f0ed2 100644 --- a/user_webfinger/host-meta.php +++ b/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))); |