You're probably looking for the value for parameter SystemURL in acs-kernel https://openacs.org/api-doc/proc-view?proc=ad_url
I'll dig around abit locally via psql, but you might find it before I do, since you're already apparently looking at parameters.
cheers, Ben