Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docroot resolver #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mtodor
Copy link
Contributor

@mtodor mtodor commented Mar 17, 2017

Fixes #1.

@mtodor mtodor requested a review from dbosen March 17, 2017 13:29

// Absolute paths are not supported.
$fileSystem = new Filesystem();
if ($fileSystem->isAbsolutePath($composerBasePath)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolute path should be possible as well

@mtodor mtodor force-pushed the feature/improve-docroot-resolver branch from f501238 to 01cdc76 Compare March 23, 2017 16:27
@webflo
Copy link

webflo commented Apr 19, 2017

Btw, you could use https://github.com/webflo/drupal-finder to resolve the docroot. It supports various use-cases and configurations.

@mtodor
Copy link
Contributor Author

mtodor commented Apr 20, 2017

@webflo that looks good, but as I see absolute (full) path is not supported. So I'll stay with current implementation.

@mtodor mtodor force-pushed the feature/improve-docroot-resolver branch from 01cdc76 to 98c8b7f Compare April 20, 2017 07:50
@dbosen
Copy link
Member

dbosen commented Feb 19, 2018

@mtodor I think it would be better to improve drupal-finder then writing our own stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants