While working on #278629 , i came to the realization that it would be much clearer and simpler to always install the provision site in
sites/default.
This means that a platform is synonymous with the default site installed at a certain path.
This means that we do not have to add --uri= for drush calls.
This means that we do not need to protect install.php in any way, since it becomes inert when there is a default site
This means we can provide a 'site not found, do you want to create it ?' or any other redirection pages we need to for unfound/disabled
sites.
This means we don't have to guess what is in sites/default, as we insist that we be there (and we already map ourselves as a platform node).
Comments
Comment #1
adrian CreditAttribution: adrian commentedThis is an incredibly simple patch.
Basically test for the negative instead of the positive in provision.install, and change the error message.
Comment #2
adrian CreditAttribution: adrian commentedCommitted the main fix, but this affects the import page of the hosting wizard.
It means there's never one minimal site installed.
Comment #3
adrian CreditAttribution: adrian commentedI removed the --uri from the calls to drush.
Comment #4
adrian CreditAttribution: adrian commentedThis is now complete.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.