We have hosted one of our Drupal 7 site at Acquia.

How do I find site root directory - /mnt/www/html/mysite/docroot/?

I'm using dpr(shell_exec("drush status")); command in devel/php

Is there anyother way to find it?



It is defined in index.php as:

define('DRUPAL_ROOT', getcwd());
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.