mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 01:40:22 +02:00
Need to ensure plugin is installed
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/event_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/event_class.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2008-12-03 00:43:00 $
|
| $Date: 2008-12-03 00:48:19 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: mcfly_e107 $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -71,6 +71,8 @@ class e107_event
|
|||||||
if(isset($pref['e_admin_events_list']) && is_array($pref['e_admin_events_list']))
|
if(isset($pref['e_admin_events_list']) && is_array($pref['e_admin_events_list']))
|
||||||
{
|
{
|
||||||
foreach($pref['e_admin_events_list'] as $plugin)
|
foreach($pref['e_admin_events_list'] as $plugin)
|
||||||
|
{
|
||||||
|
if(plugInstalled($plugin))
|
||||||
{
|
{
|
||||||
$func = 'plugin_'.$plugin.'_admin_events';
|
$func = 'plugin_'.$plugin.'_admin_events';
|
||||||
if(!function_exists($func))
|
if(!function_exists($func))
|
||||||
@@ -89,5 +91,6 @@ class e107_event
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user