summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/appinfo/app.php')
-rwxr-xr-xapps/contacts/appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
index e5e1d572f2d..c8c1d779dae 100755
--- a/apps/contacts/appinfo/app.php
+++ b/apps/contacts/appinfo/app.php
@@ -25,3 +25,6 @@ OCP\App::addNavigationEntry( array(
OCP\App::registerPersonal('contacts','settings');
OCP\Util::addscript('contacts', 'loader');
OC_Search::registerProvider('OC_Search_Provider_Contacts');
+if(!file_exists(OC::$SERVERROOT.'/remote/carddav.php')){
+ file_put_contents(OC::$SERVERROOT.'/remote/carddav.php', file_get_contents(OC::$APPSROOT . '/apps/contacts/appinfo/remote.php'));
+} \ No newline at end of file