Index: fb_devel.info =================================================================== --- fb_devel.info (revision 1.1) +++ fb_devel.info (6.x working copy) @@ -1,7 +1,6 @@ name=Drupal for Facebook Development and Debugging description=Blocks and messages that help when developing Apps. package = Facebook -dependencies[] = fb -dependencies[] = devel -core = 6.x +dependencies = fb devel + Index: fb_devel.module =================================================================== --- fb_devel.module (revision 1.3) +++ fb_devel.module (6.x working copy) @@ -1,12 +1,18 @@ '_fb_debug_cb', - 'access arguments' => TRUE, // TODO: restrict access - 'type' => MENU_CALLBACK, - ); -} +function fb_devel_menu($may_cache) { + $items = array(); + + if ($may_cache) { + $items[] = array('path' => 'fb/debug', + 'callback' => '_fb_debug_cb', + 'type' => MENU_CALLBACK, + 'access' => TRUE, // TODO: restrict access + ); + + } + return $items; + } function fb_devel_fb($fb, $fb_app, $op, &$return, $data) { @@ -137,3 +143,5 @@ // It's not really a form, but we like collapsible fieldsets return $form; } + +?> \ No newline at end of file