Index: includes/plugins.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ctools/includes/plugins.inc,v
retrieving revision 1.17
diff -u -p -r1.17 plugins.inc
--- includes/plugins.inc	13 Aug 2009 23:35:26 -0000	1.17
+++ includes/plugins.inc	31 Aug 2009 16:19:18 -0000
@@ -444,7 +444,7 @@ function ctools_plugin_get_info($module,
 function ctools_plugin_get_function($plugin, $function_name) {
   // If cached the .inc file may not have been loaded. require_once is quite safe
   // and fast so it's okay to keep calling it.
-  if (isset($plugin['file'])) {
+  if (isset($plugin['file']) && (strpos($plugin['file'], '.info') === FALSE)) {
     require_once './' . $plugin['path'] . '/' . $plugin['file'];
   }
 
@@ -508,7 +508,7 @@ function ctools_plugin_load_function($mo
 function ctools_plugin_get_class($plugin, $class_name) {
   // If cached the .inc file may not have been loaded. require_once is quite safe
   // and fast so it's okay to keep calling it.
-  if (isset($plugin['file'])) {
+  if (isset($plugin['file']) && (strpos($plugin['file'], '.info') === FALSE)) {
     require_once './' . $plugin['path'] . '/' . $plugin['file'];
   }
 
