DRUPAL_ROOT value is the symlinked directory, instead of the project location
Closed this issue · 2 comments
shaal commented
Describe the bug
When installing a Drupal website that is based on this project, DRUPAL_ROOT
gets the wrong value - /var/www/html/repos/drupal
.
To Reproduce
- Install a Drupal website based on this project's setup.
- using Xdebug, place a breakpoint in
web/core/includes/bootstrap.inc
, after the line whereDRUPAL_ROOT
gets value
define('DRUPAL_ROOT', dirname(__DIR__, 2));
- Confirm that DRUPAL_ROOT gets the wrong value of
repos/drupal
instead of the directory where Drupal project is.
Expected behavior
I expect DRUPAL_ROOT to be set like a regular Drupal website (and not in `/repos/drupal')
Screenshots
Version and configuration information (please complete the following information)
Additional context
joachim-n commented
Can this be closed? Isn't this basically https://www.drupal.org/project/drupal/issues/1792310?
shaal commented
Yes, it is. Closing.