diff --git a/dhtml_menu.module b/dhtml_menu.module index c969ced..61d1920 100644 --- a/dhtml_menu.module +++ b/dhtml_menu.module @@ -6,6 +6,8 @@ * Initialization and various hook implementations. */ +require_once 'dhtml_menu.theme.inc'; + /** * Implementation of hook_help(). */ @@ -23,7 +25,6 @@ function dhtml_menu_help($path) { * Adds CSS, Javascript and settings to the page. */ function dhtml_menu_init() { - module_load_include('inc', 'dhtml_menu', 'dhtml_menu.theme'); drupal_add_css(drupal_get_path('module', 'dhtml_menu') . '/dhtml_menu.css'); drupal_add_js(drupal_get_path('module', 'dhtml_menu') . '/dhtml_menu.js'); drupal_add_js(array('dhtmlMenu' => variable_get('dhtml_menu_settings')), 'setting');