Top menu

Get drupal installed document root

To get the complete base path where the Drupal site is installed you can use:

On a Ubuntu system you will get something like:

If you only use “base_path()”, you will obtain only:

No comments yet.

Leave a Reply