aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo/app.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-05 18:29:02 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-05 18:29:26 +0200
commit101406eba7b8c3aed56f80519ef81d76e681d209 (patch)
treef96974b98dc4cae35f3edf0e248280bf1797a5c3 /apps/contacts/appinfo/app.php
parent2facf509cc172ab822f573f3b582caef59995dc1 (diff)
downloadnextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.tar.gz
nextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.zip
fix writing in remote folder
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