fix writing of webdav.php

This commit is contained in:
Georg Ehrke 2012-05-05 20:43:11 +02:00
parent 6330fdad08
commit 6c2fc0cbe8
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}