includes/plugins.php
changeset 979 aafb9f6806c9
parent 975 bff25c6113ae
child 992 34a7fe38d78b
equal deleted inserted replaced
978:ed84b24b8e07 979:aafb9f6806c9
    78     $plugin_list = $this->get_plugin_list();
    78     $plugin_list = $this->get_plugin_list();
    79     $this->load_list = array();
    79     $this->load_list = array();
    80     
    80     
    81     foreach ( $plugin_list as $filename => $data )
    81     foreach ( $plugin_list as $filename => $data )
    82     {
    82     {
    83       if ( $data['status'] & PLUGIN_OUTOFDATE || $data['status'] & PLUGIN_DISABLED )
    83       if ( $data['status'] & PLUGIN_OUTOFDATE || $data['status'] & PLUGIN_DISABLED || ( !$data['installed'] && !$data['system plugin'] ) )
    84         continue;
    84         continue;
    85       
    85       
    86       $this->load_list[] = $filename;
    86       $this->load_list[] = $filename;
    87       $this->loaded_plugins[$filename] = $data;
    87       $this->loaded_plugins[$filename] = $data;
    88     }
    88     }