function base_path in Drupal 5
Same name and namespace in other branches
- 8 core/includes/common.inc \base_path()
- 4 includes/common.inc \base_path()
- 6 includes/common.inc \base_path()
- 7 includes/common.inc \base_path()
- 9 core/includes/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()
- chameleon_page in themes/
chameleon/ chameleon.theme - db_connect in includes/
database.mysqli.inc - Initialise a database connection.
- db_connect in includes/
database.mysql.inc - Initialize a database connection.
- db_connect in includes/
database.pgsql.inc - Initialize a database connection.
- drupal_build_css_cache in includes/
common.inc - Aggregate and optimize CSS files, putting them in the files directory.
File
- includes/
common.inc, line 1521 - Common functions that many Drupal modules will need to reference.
Code
function base_path() {
return $GLOBALS['base_path'];
}