diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-05 00:37:00 +0400 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-07 00:24:15 +0400 |
commit | 4ce1265e930f3cd6f9c44eaad2fce455192c3d0f (patch) | |
tree | 16109da38dc08025825f95c0e1550314cf7fba0b /user_webfinger | |
parent | 37e9f8104eae7a37d35382708a8aaa2f5d8b63f8 (diff) |
Correct remote and public, and last occurence of OC::
Diffstat (limited to 'user_webfinger')
-rw-r--r-- | user_webfinger/webfinger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_webfinger/webfinger.php b/user_webfinger/webfinger.php index e75c546c2..67cbba54a 100644 --- a/user_webfinger/webfinger.php +++ b/user_webfinger/webfinger.php @@ -59,7 +59,7 @@ echo "{\"links\":["; $apps = OC_Appconfig::getApps(); foreach($apps as $app) { if(OCP\App::isEnabled($app)) { - if(is_file(OC::$APPSROOT . '/apps/' . $app . '/appinfo/webfinger.php')) { + if(is_file(OC_App::getAppPath($app). '/appinfo/webfinger.php')) { require($app . '/appinfo/webfinger.php'); } } |