nextcloud/apps/files/appinfo/app.php

10 lines
508 B
PHP
Raw Normal View History

<?php
2012-04-14 18:44:15 +04:00
$l=OC_L10N::get('files');
2011-08-09 19:54:02 +04:00
2012-05-02 02:50:26 +04:00
OCP\App::register( array( "order" => 2, "id" => "files", "name" => "Files" ));
OCP\App::registerAdmin('files','admin');
2011-03-04 01:08:11 +03:00
2012-05-02 02:50:26 +04:00
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") ));
2011-04-17 22:00:07 +04:00
OC_Search::registerProvider('OC_Search_Provider_File');
OCP\CONFIG::setAppValue('core', 'remote_webdav', '/apps/files/appinfo/remote.php');