aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/appinfo/remote.php')
-rw-r--r--apps/calendar/appinfo/remote.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/remote.php b/apps/calendar/appinfo/remote.php
index 0673c36540f..3bd8737ee97 100644
--- a/apps/calendar/appinfo/remote.php
+++ b/apps/calendar/appinfo/remote.php
@@ -7,6 +7,10 @@
*/
OCP\App::checkAppEnabled('calendar');
+if(substr($_SERVER["REQUEST_URI"],0,strlen(OC::$APPSWEBROOT . '/apps/calendar/caldav.php')) == OC::$APPSWEBROOT . '/apps/calendar/caldav.php'){
+ $baseuri = OC::$APPSWEBROOT . '/apps/calendar/caldav.php';
+}
+
// only need authentication apps
$RUNTIME_APPTYPES=array('authentication');
OC_App::loadApps($RUNTIME_APPTYPES);