base_path()
drupal/includes/common.inc, line 1521
Returns the base URL path of the Drupal installation. At the very least, this will always default to /.
| Name | Description |
|---|---|
| Input validation | Functions to validate user input. |
function base_path() {
return $GLOBALS['base_path'];
}