base_path
includes/common.inc, line 1497
- Versions
- 4.7 – 7
base_path()
Returns the base URL path of the Drupal installation. At the very least, this will always default to /.
Related topics
Code
<?php
function base_path() {
return $GLOBALS['base_path'];
}
?> 