diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-16 21:05:15 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-16 21:05:15 +0200 |
commit | 9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4 (patch) | |
tree | a4b91e7de1770e9d71bae60755eadda8e1742626 /apps/calendar/appinfo | |
parent | b39f01fce6756a5c9a181de4e7387e10ad556428 (diff) | |
download | nextcloud-server-9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4.tar.gz nextcloud-server-9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4.zip |
add caldav and carddav files in their old place for backward compatibility - add rewriterule for caldav and carddav
Diffstat (limited to 'apps/calendar/appinfo')
-rw-r--r-- | apps/calendar/appinfo/remote.php | 4 |
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); |