aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/app.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-05 22:54:14 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-05 22:54:14 +0200
commitc996600786080c54ba853ac8311fafdd3e814e78 (patch)
treefac953a1e831f5305690be1dd5ac814b83daa726 /apps/files/appinfo/app.php
parent6c2fc0cbe853027e265fdf9f1b05b75c5f92c187 (diff)
downloadnextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.tar.gz
nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.zip
push changes
Diffstat (limited to 'apps/files/appinfo/app.php')
-rwxr-xr-xapps/files/appinfo/app.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index 3f4e1705fb0..2cc2d48602c 100755
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -1,6 +1,4 @@
<?php
-
-
$l=OC_L10N::get('files');
OCP\App::register( array( "order" => 2, "id" => "files", "name" => "Files" ));
@@ -9,6 +7,4 @@ 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/remote.php'));
-} \ No newline at end of file
+OCP\CONFIG::setAppValue('core', 'webdav', '/apps/files/appinfo/remote.php'); \ No newline at end of file