base_path()
drupal-5/includes/common.inc, line 1379
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. |
<?php
function base_path() {
return $GLOBALS['base_path'];
}
?>