Ignore:
Timestamp:
Nov 22, 2006, 3:57:41 AM (17 years ago)
Author:
rvelices
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_plugins.inc.php

    r1604 r1616  
    244244{
    245245  global $conf;
    246   if ($conf['disable_plugins'])
    247   {
    248     return;
    249   }
    250 
    251   $plugins = get_db_plugins('active');
    252   foreach( $plugins as $plugin)
    253   {// include main from a function to avoid using same function context
    254     load_plugin($plugin);
    255   }
    256   trigger_action('plugins_loaded');
     246  if ($conf['enable_plugins'])
     247  {
     248    $plugins = get_db_plugins('active');
     249    foreach( $plugins as $plugin)
     250    {// include main from a function to avoid using same function context
     251      load_plugin($plugin);
     252    }
     253    trigger_action('plugins_loaded');
     254  }
    257255}
    258256?>
Note: See TracChangeset for help on using the changeset viewer.