diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
commit | c996600786080c54ba853ac8311fafdd3e814e78 (patch) | |
tree | fac953a1e831f5305690be1dd5ac814b83daa726 /apps/files/appinfo/app.php | |
parent | 6c2fc0cbe853027e265fdf9f1b05b75c5f92c187 (diff) | |
download | nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.tar.gz nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.zip |
push changes
Diffstat (limited to 'apps/files/appinfo/app.php')
-rwxr-xr-x | apps/files/appinfo/app.php | 6 |
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 |