summaryrefslogtreecommitdiffstats
path: root/files/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/appinfo/app.php')
-rw-r--r--files/appinfo/app.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/files/appinfo/app.php b/files/appinfo/app.php
index aa0054fc43d..8b1a806b7be 100644
--- a/files/appinfo/app.php
+++ b/files/appinfo/app.php
@@ -1,7 +1,8 @@
<?php
-OC_APP::register( array( "id" => "files", "name" => "Files" ));
-OC_UTIL::addNavigationEntry( array( "app" => "files", "file" => "index.php", "name" => "Files" ));
-OC_UTIL::addAdminPage( array( "app" => "files", "file" => "admin.php", "name" => "Files" ));
+OC_APP::register( array( "order" => 2, "id" => "files", "name" => "Files" ));
+
+OC_UTIL::addNavigationEntry( array( "id" => "files_index", "order" => 1, "href" => OC_HELPER::linkTo( "files", "index.php" ), "icon" => OC_HELPER::imagePath( "files", "navicon.png" ), "name" => "Files" ));
+OC_UTIL::addAdminPage( array( "order" => 1, "href" => OC_HELPER::linkTo( "files", "admin.php" ), "name" => "Files" ));
?>