public function baseContext() {
        $baseContext = get_property("web.base_context", "");
        if (empty($baseContext)) {
            $baseContext = !empty($_SERVER["CONTEXT_PREFIX"])? $_SERVER["CONTEXT_PREFIX"] : "";
        }
        return $baseContext;
    }