diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 5611acd2abcfd590018f6561108a80a0e10cdd8b..3f4e1705fb0b06eec4f3fc84d01eb6ca96637934 100755
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -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