function base_url

7.x misc.inc base_url()
6.x misc.inc base_url()

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

4 calls to base_url()
AdvisingScreen.php in classes/AdvisingScreen.php
AdvisingScreen::draw_pie_chart_box in classes/AdvisingScreen.php
This function is used to draw an individual pie chart box. It accepts values of top/bottom in order to come up with a percentage.
content.module in modules/content/content.module
content_public_files_form in modules/content/content.module
This screen lets the user upload/manage/delete "public files" stored at custom/files/content_uploads/public_uploads/
13 string references to 'base_url'
calendar.module in modules/calendar/calendar.module
calendar_display_schedule_staff_page in modules/calendar/calendar.module
This page (primarily meant for students) is for quickly finding your advisor or professor or whomever, and finding their link to schedule an appointment with them.
calendar_display_user_appointment_settings_page in modules/calendar/calendar.module
This page is where the user can configure their various appointment settings (like when they offer them)
DatabaseHandler.php in classes/DatabaseHandler.php
DatabaseHandler::db_error in classes/DatabaseHandler.php
Draw out the error onto the screen.

... See full list

File

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

Code

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

  return $p;
}