summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/appinfo/remote.php')
-rw-r--r--apps/contacts/appinfo/remote.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/contacts/appinfo/remote.php b/apps/contacts/appinfo/remote.php
index 9a34ecd4a4c..ef50e4ad39f 100644
--- a/apps/contacts/appinfo/remote.php
+++ b/apps/contacts/appinfo/remote.php
@@ -22,6 +22,10 @@
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';
+}
+
// only need authentication apps
$RUNTIME_APPTYPES=array('authentication');
OC_App::loadApps($RUNTIME_APPTYPES);