function fp_get_module_path

7.x misc.inc fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE)
6.x misc.inc fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE)
5.x misc.inc fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE)

Return the filepath to the module

Parameters

unknown_type $module:

unknown_type $bool_include_file_system_path:

unknown_type $bool_include_base_path:

Return value

unknown

151 calls to fp_get_module_path()
admin.courses.inc in modules/admin/admin.courses.inc
admin.degrees.inc in modules/admin/admin.degrees.inc
admin.groups.inc in modules/admin/admin.groups.inc
admin.module in modules/admin/admin.module
The administrative configurations for FlightPath.
admin_display_courses in modules/admin/admin.courses.inc
This function displays all of our courses for us to edit.

... See full list

File

includes/misc.inc, line 1937
This file contains misc functions for FlightPath

Code

function fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) {

  $p = menu_get_module_path($module, $bool_include_file_system_path);

  if ($bool_include_file_system_path == FALSE && $bool_include_base_path == TRUE) {
    $p = base_path() . "/" . $p;
  }

  return $p;
}