diff options
Diffstat (limited to 'plugins/LocalFilesEditor/main.inc.php')
-rw-r--r-- | plugins/LocalFilesEditor/main.inc.php | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/LocalFilesEditor/main.inc.php b/plugins/LocalFilesEditor/main.inc.php index 5fe5de586..22731cc64 100644 --- a/plugins/LocalFilesEditor/main.inc.php +++ b/plugins/LocalFilesEditor/main.inc.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org | // | Copyright(C) 2003-2008 PhpWebGallery team http://phpwebgallery.net | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | // +-----------------------------------------------------------------------+ @@ -23,7 +23,7 @@ /* Plugin Name: LocalFiles Editor -Version: 2.5.0 +Version: 2.6.0 Description: Edit local files from administration panel Plugin URI: http://piwigo.org/ext/extension_view.php?eid=144 Author: Piwigo team @@ -35,12 +35,9 @@ define('LOCALEDIT_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/' function localfiles_admin_menu($menu) { - array_push( - $menu, - array( - 'NAME' => 'LocalFiles Editor', - 'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__)) - ) + $menu[] = array( + 'NAME' => 'LocalFiles Editor', + 'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__)) ); return $menu; |