Greg Anderson
Greg Anderson
If we removed the `web` directory, then the only references to the document root would be in the composer.json file and the post-install script. We might be able to have...
The latest version of #77 makes it pretty easy to change the directory name on the fly. There are still a couple of files where it needs to be changed....
#77 / #105 have been merged, so relocating the docroot from `web` to something else now requires modification of only a few files: 1. composer.json (several locations) 2. .gitignore (several...
That's a great idea, but I think it would need to be a feature of Composer Installers. It would be better as a feature of Composer Installers, anyway, as it...
@joelpittet Yes, some folks do that; should work in most environments.
See [my previous comment](https://github.com/drupal-composer/drupal-project/issues/64#issuecomment-186749058). The docroot variable exists in a few plain text files. Some fixup is required if the user wants to select something else.
@nalipaz Yeah, that would work for sure. The one wrinkle is that at the moment, we use `composer/installers` to remap the module install locations, and it does not support a...
The post-install script now uses Drupal Finder to locate the web root, so only .gitignore and the composer.json files would need to be modified to use a different location.
c.f. #77, which removes this file.
`openssl_random_pseudo_bytes` is available in php 5.3 and later, so seems good to me. Maybe we should first check to see if settings.php already defines 'hash_salt'?