global $base_root

  1. 7.x documentation-7.x/developer/globals.php base_root
  2. 6.x documentation-6.x/developer/globals.php base_root

The root URL of the host, excluding the path.

See also

drupal_settings_initialize()

File

documentation-7.x/developer/globals.php, line 38
These are the global variables that Drupal uses.

Code

global $base_root;