summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/appinfo/update.php')
-rw-r--r--apps/contacts/appinfo/update.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/contacts/appinfo/update.php b/apps/contacts/appinfo/update.php
new file mode 100644
index 00000000000..b87241b2db1
--- /dev/null
+++ b/apps/contacts/appinfo/update.php
@@ -0,0 +1,4 @@
+<?php
+if(!file_exists(OC::$WEBROOT.'/remote/carddav.php')){
+ file_put_contents(OC::$WEBROOT.'/remote/carddav.php', file_get_contents(OC::$APPROOT . '/apps/contacts/appinfo/remote.php'));
+} \ No newline at end of file