| 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
File
- includes/
common.inc, line 1521 - Common functions that many Drupal modules will need to reference.
Code
<?php
function base_path() {
return $GLOBALS['base_path'];
}
?>Login or register to post comments