aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo/install.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-02 16:41:00 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-02 16:41:23 +0200
commitda03d057007d885914dfac7c92cca51747b5f44b (patch)
tree042198fa223b761710480fdc96466649fae321d6 /apps/calendar/appinfo/install.php
parentc536e930f40f1bf4dd551ca6fefca15b2f88eee7 (diff)
downloadnextcloud-server-da03d057007d885914dfac7c92cca51747b5f44b.tar.gz
nextcloud-server-da03d057007d885914dfac7c92cca51747b5f44b.zip
create folder 'remote' for the remote services like caldav, carddav and webdav
Diffstat (limited to 'apps/calendar/appinfo/install.php')
-rw-r--r--apps/calendar/appinfo/install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/install.php b/apps/calendar/appinfo/install.php
new file mode 100644
index 00000000000..c5a9a72f26f
--- /dev/null
+++ b/apps/calendar/appinfo/install.php
@@ -0,0 +1,4 @@
+<?php
+if(!file_exists(OC::$WEBROOT.'/remote/caldav.php')){
+ file_put_contents(OC::$WEBROOT.'/remote/caldav.php', file_get_contents(OC::$APPROOT . '/apps/calendar/appinfo/remote.php'));
+} \ No newline at end of file