Closed btopro closed 1 month ago
Need to add a test AFTER this block or a "loadSiteFromConfig" type of function (might be better) that takes in:
_sites
path stuffThis should be enough (or maybe just load the site from config file) which gets us the correct pathto load up the site.json file effectively
} elseif (isset($GLOBALS["HAXcmsInDocker"]) && $name == "html") {
// we're in a docker container, howay!
$site = new HAXCMSSite();
$site->loadInDocker(HAXCMS_ROOT);
return $site;
}
https://lab.hax.psu.edu/ as example that loads bc of the new script which is awesome However going to a page and reloading it sets this as the base.
If we had base set appropriately based on being at a vanity then it would be possible to add vanities while editing at the usual address!