$base_path

in docs-6/globals.php

The base path of the drupal installation. At least will default to /.

See also

conf_init()

<?php
global $base_path;
?>

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options