Index: nodereference_explorer.module
===================================================================
--- nodereference_explorer.module	(revision 4017)
+++ nodereference_explorer.module	(working copy)
@@ -182,6 +182,11 @@
 /**
  * Initiate all plugins sources, i. e. include and js files. A list
  * of available plugins is returned.
+ * 
+ * @deprecated
+ *   Restricitve file permissions might completely break this function as it iterates
+ *   through the filesystem. As we cannot guarentee proper file permissions on this 
+ *   level, the usage of this function is discouraged, see @bug http://drupal.org/node/1247096.
  * @param $module
  *   Name of module
  * @return
Index: includes/nodereference_explorer.widget.inc
===================================================================
--- includes/nodereference_explorer.widget.inc	(revision 4017)
+++ includes/nodereference_explorer.widget.inc	(working copy)
@@ -22,7 +22,11 @@
   return array(
     'nodereference_explorer' => array(
       'label' => t('Explorer'),
-      'field types' => nodereference_explorer_plugins(), //get all plugins for field types, e. g. nodereference, link etc.
+      'field types' => 
+        // Formerly nodereference_explorer_plugins() function was called here, 
+        // but it has been deprecated, see function description for details.
+        // Therefore we define the plugin field types here explicitly.
+        array('link', 'nodereference', 'nodereference_quantifier'),
     ),
   );
 }
