Skip to content
Snippets Groups Projects
Commit 6c2fc0cb authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix writing of webdav.php

parent 6330fdad
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@ OCP\App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href"
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'));
file_put_contents(OC::$SERVERROOT.'/remote/webdav.php', file_get_contents(OC::$APPSROOT . '/apps/files/appinfo/remote.php'));
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment