diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 18:29:02 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 18:29:26 +0200 |
commit | 101406eba7b8c3aed56f80519ef81d76e681d209 (patch) | |
tree | f96974b98dc4cae35f3edf0e248280bf1797a5c3 /apps/files/appinfo/app.php | |
parent | 2facf509cc172ab822f573f3b582caef59995dc1 (diff) | |
download | nextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.tar.gz nextcloud-server-101406eba7b8c3aed56f80519ef81d76e681d209.zip |
fix writing in remote folder
Diffstat (limited to 'apps/files/appinfo/app.php')
-rwxr-xr-x | apps/files/appinfo/app.php | 3 |
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 |