function menu_get_module_path

7.x menu.inc menu_get_module_path($module, $bool_include_file_system_path = FALSE)
6.x menu.inc menu_get_module_path($module, $bool_include_file_system_path = FALSE)
4.x menu.inc menu_get_module_path($module, $bool_include_file_system_path = FALSE)
5.x menu.inc menu_get_module_path($module, $bool_include_file_system_path = FALSE)
12 calls to menu_get_module_path()
admin_menu in modules/admin/admin.module
Implementation of hook_menu
admin_process_all_definitions_form_submit in modules/admin/admin.groups.inc
Actually perform the refreshing of definitions.
advise_menu in modules/advise/advise.module
batch_menu in modules/batch/batch.module
Implementation of hook_menu
batch_test_form_submit in modules/batch/batch.test.inc

... See full list

File

includes/menu.inc, line 70

Code

function menu_get_module_path($module, $bool_include_file_system_path = FALSE) {

  $system_path = "";
  if ($bool_include_file_system_path) {
    $system_path = $GLOBALS ["fp_system_settings"]["file_system_path"] . "/";
  }

  if (isset($GLOBALS ["fp_system_settings"]["modules"][$module]["path"])) {
    return $system_path . $GLOBALS ["fp_system_settings"]["modules"][$module]["path"];
  }
  else {
    return FALSE;
  }

}