feature(core): Allowing upgrade.php to forward to custom URLs.

Fixes #6442