2011-03-03 23:55:32 +03:00
|
|
|
<?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" ));
|
2012-05-02 13:26:22 +04:00
|
|
|
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
|
|
|
|
2012-03-02 01:58:44 +04:00
|
|
|
OC_Search::registerProvider('OC_Search_Provider_File');
|
2012-05-07 17:39:17 +04:00
|
|
|
OCP\CONFIG::setAppValue('core', 'remote_webdav', '/apps/files/appinfo/remote.php');
|