You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Lightning Core is installed at docroot/modules/contrib/lightning_core and $this=>locateRoot('docroot/modules/contrib/lightning_core') is executed, Drupal Finder will incorrectly assume that docroot/modules/contrib/lightning_core is actually the root.
It seems like it would be useful to add a couple of extra checks to Drupal Finder ensure that the directory structure looks like Drupal core. For instance, checking for core,index.php,modules, etc. Checking values in composer.json is not sufficient in all cases.
The text was updated successfully, but these errors were encountered:
When Lightning Core is installed at
docroot/modules/contrib/lightning_core
and$this=>locateRoot('docroot/modules/contrib/lightning_core')
is executed, Drupal Finder will incorrectly assume thatdocroot/modules/contrib/lightning_core
is actually the root.This is due to Lightning Core's composer.json, which contains entries for
installer-paths
.It seems like it would be useful to add a couple of extra checks to Drupal Finder ensure that the directory structure looks like Drupal core. For instance, checking for
core
,index.php
,modules
, etc. Checking values in composer.json is not sufficient in all cases.The text was updated successfully, but these errors were encountered: