backdrop-contrib / domain

A domain-based access control system for Backdrop CMS
https://backdropcms.org/project/domain
3 stars 5 forks source link

Update domain bootstrap to construct base_url like Backdrop core #46

Closed elisseck closed 1 week ago

elisseck commented 1 week ago

Resolves https://github.com/backdrop-contrib/domain/issues/39

I think this is a difference between how d7 and backdrop are handling auto-detection of paths for core scripts. See https://github.com/backdrop/backdrop/blob/a34ee61471f0c6561a89f1237e20b7ce47dac2e2/core/includes/bootstrap.inc#L990

This could use testing, I really only tested that it resolves the update.php issue and i'm not that familiar with the domain modules... but this change makes sense to me.