includes/plugins.php
changeset 724 af6a618e5c94
parent 685 17ebe24cdf85
child 769 1946d845bb25
equal deleted inserted replaced
723:78d391d37700 724:af6a618e5c94
    80     if ( !$q )
    80     if ( !$q )
    81       $db->_die();
    81       $db->_die();
    82     
    82     
    83     while ( $row = $db->fetchrow() )
    83     while ( $row = $db->fetchrow() )
    84     {
    84     {
    85       $this->load_list[] = $row['plugin_filename'];
    85       if ( file_exists(ENANO_ROOT . "/plugins/{$row['plugin_filename']}") )
       
    86       {
       
    87         $this->load_list[] = $row['plugin_filename'];
       
    88       }
    86     }
    89     }
    87     
    90     
    88     $this->loaded_plugins = $this->get_plugin_list($this->load_list);
    91     $this->loaded_plugins = $this->get_plugin_list($this->load_list);
    89     
    92     
    90     // check for out-of-date plugins
    93     // check for out-of-date plugins