public function getActiveSite() {
		if($this->owner->config()->use_active_site_session) {
			return Multisites::inst()->getActiveSite();
		} else {
			if($this->modelIsMultiSitesAware()) {
				if($active = $this->owner->getRequest()->getSession()->get($this->getActiveSiteSessionKey())) {
					return Site::get()->byID($active);
				}
			}
		}
	}