function base_path

7.x misc.inc base_path()
6.x misc.inc base_path()
4.x misc.inc base_path()
5.x misc.inc base_path()

Shortcut for getting the base_path variable from the global system settings.

24 calls to base_path()
admin_display_edit_degree in modules/admin/admin.degrees.inc
This screen displays the form which allows the user to actually edit a degree.
admin_display_groups in modules/admin/admin.groups.inc
This function will display a list of all our groups.
admin_display_groups_popup_edit_definition in modules/admin/admin.groups.inc
admin_edit_group_form in modules/admin/admin.groups.inc
This function lets the user edit a group.
advise_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.

... See full list

File

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

Code

function base_path() {
  $p = $GLOBALS ["fp_system_settings"]["base_path"];

  // the base_path setting isn't set, so just use '.', meaning, start
  // at the currect directory by default.
  if ($p == "") {
    $p = ".";
  }

  return $p;
}