1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Make calls to plugin handers consistent - always use plugin name (directory name)

This commit is contained in:
e107steved
2008-12-10 22:39:43 +00:00
parent abfc973147
commit a96c38306f
5 changed files with 121 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
/*
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
* $Id: admin_alt_nav.sc,v 1.6 2008-12-07 21:41:04 e107steved Exp $
* $Id: admin_alt_nav.sc,v 1.7 2008-12-10 22:39:43 e107steved Exp $
*/
if (ADMIN)
@@ -77,8 +77,7 @@ if (ADMIN)
{
if(getperms('P'.$row['plugin_id']))
{
$_path = e_PLUGIN.$row['plugin_path'].'/';
if($plug->parse_plugin($_path))
if($plug->parse_plugin($row['plugin_path']))
{
$plug_vars = $plug->plug_vars;
loadLanFiles($row['plugin_path'], 'admin');