$rcmail_config['plugin'] didn't work so i accessed the config with rcmail::get_instance()->config->get('plugins'), but when i want to check if it is in the array like with the function in_array or array_key_exists it just blanks whole roundcube site.