base_path

5 common.inc base_path()
6 common.inc base_path()
7 common.inc base_path()
8 common.inc base_path()

Returns the base URL path of the Drupal installation. At the very least, this will always default to /.

Related topics

21 calls to base_path()

1 string reference to 'base_path'

File

includes/common.inc, line 1521
Common functions that many Drupal modules will need to reference.

Code

function base_path() {
  return $GLOBALS['base_path'];
}
Login or register to post comments