mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
triggerHook needed plugInstalled
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/event_class.php,v $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2008-12-29 20:41:10 $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2009-01-22 23:14:48 $
|
||||
| $Author: lisa_ $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -119,6 +119,8 @@ class e107_event
|
||||
if(isset($pref['e_event_list']) && is_array($pref['e_event_list']))
|
||||
{
|
||||
foreach($pref['e_event_list'] as $hook)
|
||||
{
|
||||
if(plugInstalled($hook))
|
||||
{
|
||||
if(is_readable(e_PLUGIN.$hook."/e_event.php"))
|
||||
{
|
||||
@@ -151,6 +153,7 @@ class e107_event
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user