• omega8cc's avatar
    Fix the check for parent site existence - we should look for drush alias file... · 8180c5d7
    omega8cc authored
    Fix the check for parent site existence - we should look for drush alias file and not a vhost (which can be dummy subdir vhost).
    
    Running the parent site re-verify more than once (which would happen when there are two or more aliases) via backend while updating subdir site configuration results with semi-disaster, since it writes parent site db credentials into subdir site config. Not nice. But when auto-running this re-verify via frontend with hosting-task, it results with total disaster - it destroys hostmaster database! The workaround is to use a counter in the aliases loop, to make sure that we run parent site re-verify to update its vhost and add include line for sites in subdirs, if they exist, only once. By the way, DigitalOcean backups s*cks!
    8180c5d7
Name
Last commit
Last update
Provision Loading commit data...
Symfony/Component/ClassLoader Loading commit data...
db Loading commit data...
debian Loading commit data...
dns Loading commit data...
example Loading commit data...
http Loading commit data...
platform Loading commit data...
provision-tests Loading commit data...
subdirs Loading commit data...
.gitignore Loading commit data...
HACKING_2x.mdwn Loading commit data...
LICENSE.txt Loading commit data...
README.txt Loading commit data...
aegir-dev.make Loading commit data...
aegir-release.make Loading commit data...
aegir.make Loading commit data...
example.drushrc.php Loading commit data...
example.sudoers Loading commit data...
install.hostmaster.inc Loading commit data...
migrate.hostmaster.inc Loading commit data...
parse.backend.inc Loading commit data...
provision.api.php Loading commit data...
provision.context.inc Loading commit data...
provision.drush.inc Loading commit data...
provision.file.inc Loading commit data...
provision.inc Loading commit data...
provision.info Loading commit data...
provision.service.inc Loading commit data...
release.sh Loading commit data...
uninstall.hostmaster.inc Loading commit data...
upgrade.sh.txt Loading commit data...