diff options
Diffstat (limited to 'apps/calendar/appinfo/app.php')
-rwxr-xr-x | apps/calendar/appinfo/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/app.php b/apps/calendar/appinfo/app.php index b02fc602c6b..055066de0df 100755 --- a/apps/calendar/appinfo/app.php +++ b/apps/calendar/appinfo/app.php @@ -23,3 +23,6 @@ OCP\App::addNavigationEntry( array( 'name' => $l->t('Calendar'))); OCP\App::registerPersonal('calendar', 'settings'); OC_Search::registerProvider('OC_Search_Provider_Calendar'); +if(!file_exists(OC::$SERVERROOT.'/remote/caldav.php')){ + file_put_contents(OC::$SERVERROOT.'/remote/caldav.php', file_get_contents(OC::$APPSROOT . '/apps/calendar/appinfo/remote.php')); +}
\ No newline at end of file |