function include_module_install

6.x include_module_install($module, $path)
7.x include_module_install($module, $path)
4.x include_module_install($module, $path)
5.x include_module_install($module, $path)

Find and include the module's .install file, if it exists. Returns TRUE or FALSE if it was able to find & include the file.

4 calls to include_module_install()
system_disable_module in modules/system/system.module
Handles the disabling of the module in question.
system_enable_module in modules/system/system.module
Handles the enabling (and possible installation) of module.
system_handle_uninstall_module in modules/system/system.module
Called from the menu (ie, a URL) this function will uninstall a module.
system_perform_db_updates_perform_batch_operation in modules/system/system.module
Performs db updates ONE module at a time.


includes/, line 2707
This file contains misc functions for FlightPath


function include_module_install($module, $path) {
  $system_path = trim($GLOBALS ["fp_system_settings"]["file_system_path"]);

  $install_path = $path . "/$module.install";
  if (file_exists($system_path . "/" . $install_path)) {
    require_once ($system_path . "/" . $install_path);
    return TRUE;

  return FALSE;