summaryrefslogtreecommitdiffstats
path: root/apps/files/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/files/appinfo/app.php
parent2facf509cc172ab822f573f3b582caef59995dc1 (diff)
downloadnextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.tar.gz
nextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.zip
fix writing in remote folder
Diffstat (limited to 'apps/files/appinfo/app.php')
-rwxr-xr-xapps/files/appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 355b77d5e7e..5611acd2abc 100755
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -9,3 +9,6 @@ OCP\App::registerAdmin('files','admin');
OCP\App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href" => OCP\Util::linkTo( "files", "index.php" ), "icon" => OCP\Util::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") ));
OC_Search::registerProvider('OC_Search_Provider_File');
+if(!file_exists(OC::$SERVERROOT.'/remote/webdav.php')){
+ file_put_contents(OC::$SERVERROOT.'/remote/webdav.php', file_get_contents(OC::$APPSROOT . '/apps/files/appinfo/webdav.php'));
+} \ No newline at end of file