? cp_ctools_beta3.patch
? panels
Index: content_profile.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_profile/Attic/content_profile.module,v
retrieving revision 1.1.2.37
diff -u -p -r1.1.2.37 content_profile.module
--- content_profile.module	7 Apr 2009 11:27:01 -0000	1.1.2.37
+++ content_profile.module	1 May 2009 04:02:30 -0000
@@ -11,12 +11,17 @@
  * Implementation of hook_init().
  */
 function content_profile_init() {
-  if (module_exists('panels')) {
-    module_load_include('inc', 'content_profile', 'content_profile.panels');
-  }
   module_load_include('inc', 'content_profile', 'content_profile.theme_vars');
 }
 
+/**
+ * Implementation of hook_ctools_plugin_directory().
+ */
+function content_profile_ctools_plugin_directory($module, $plugin) {
+  if ($module == 'ctools' && $plugin == 'relationships') {
+    return 'panels/' . $plugin;
+  }
+}
 
 /**
  * Implementation of hook_menu().
