equal
deleted
inserted
replaced
75 |
75 |
76 $dir = ENANO_ROOT.'/plugins/'; |
76 $dir = ENANO_ROOT.'/plugins/'; |
77 |
77 |
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 || ( !$data['installed'] && !$data['system plugin'] ) ) |
83 if ( !$data['system plugin'] && ( $data['status'] & PLUGIN_OUTOFDATE || $data['status'] & PLUGIN_DISABLED || !$data['installed'] ) ) |
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 } |