diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 16:00:10 +0200 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 16:59:44 +0200 |
commit | 9469c9947f967cdb9b8423738f1d8c761061f691 (patch) | |
tree | 6f1d9fc254cd5fe25d57e00ccc0135dbc003c031 /apps | |
parent | 232788396d85a0739c74473a66c3aa215a35d75a (diff) | |
download | nextcloud-server-9469c9947f967cdb9b8423738f1d8c761061f691.tar.gz nextcloud-server-9469c9947f967cdb9b8423738f1d8c761061f691.zip |
fix warning 'unknown var appsDir'
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))); |