diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-06 19:54:57 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-06 20:24:16 +0000 |
commit | 5c2b2fc8425e7fa52945b53058ac67f67d228409 (patch) | |
tree | d7f6e5462d40e46920f81cd86e28b12cb671abc5 /apps/contacts/appinfo | |
parent | 6a812644e4d0f6eed8dca4e20c6f7135d881012a (diff) | |
download | nextcloud-server-5c2b2fc8425e7fa52945b53058ac67f67d228409.tar.gz nextcloud-server-5c2b2fc8425e7fa52945b53058ac67f67d228409.zip |
Change app path logic in templates
Diffstat (limited to 'apps/contacts/appinfo')
-rw-r--r-- | apps/contacts/appinfo/remote.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/appinfo/remote.php b/apps/contacts/appinfo/remote.php index ef50e4ad39f..5add3bc6889 100644 --- a/apps/contacts/appinfo/remote.php +++ b/apps/contacts/appinfo/remote.php @@ -22,8 +22,8 @@ OCP\App::checkAppEnabled('contacts'); -if(substr($_SERVER["REQUEST_URI"],0,strlen(OC::$APPSWEBROOT . '/apps/contacts/carddav.php')) == OC::$APPSWEBROOT . '/apps/contacts/carddav.php'){ - $baseuri = OC::$APPSWEBROOT . '/apps/contacts/carddav.php'; +if(substr($_SERVER["REQUEST_URI"],0,strlen(OC_App::getAppWebPath('contacts').'/carddav.php')) == OC_App::getAppWebPath('contacts').'/carddav.php'){ + $baseuri = OC_App::getAppWebPath('contacts').'/carddav.php'; } // only need authentication apps |