aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/main.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/LocalFilesEditor/main.inc.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/LocalFilesEditor/main.inc.php b/plugins/LocalFilesEditor/main.inc.php
index b66a1c49d..c46099721 100644
--- a/plugins/LocalFilesEditor/main.inc.php
+++ b/plugins/LocalFilesEditor/main.inc.php
@@ -35,9 +35,14 @@ define('LOCALEDIT_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'
function localfiles_admin_menu($menu)
{
- array_push($menu, array(
- 'NAME' => 'LocalFiles Editor',
- 'URL' => get_admin_plugin_menu_link(LOCALEDIT_PATH . 'admin.php')));
+ array_push(
+ $menu,
+ array(
+ 'NAME' => 'LocalFiles Editor',
+ 'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))
+ )
+ );
+
return $menu;
}