summaryrefslogtreecommitdiff
path: root/src/web/router.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-11-26 11:52:43 -0500
committerFreya Murphy <freya@freyacat.org>2024-11-26 11:52:43 -0500
commitf5841f8ebec338fe2af87a2e50d105560b9994ba (patch)
tree94557f06567179a86b2264e7cd16951bc4de1c1f /src/web/router.php
parentnew style, add redirect support (diff)
downloadldap_forwardauth-f5841f8ebec338fe2af87a2e50d105560b9994ba.tar.gz
ldap_forwardauth-f5841f8ebec338fe2af87a2e50d105560b9994ba.tar.bz2
ldap_forwardauth-f5841f8ebec338fe2af87a2e50d105560b9994ba.zip
dont hardcode getenv
Diffstat (limited to '')
-rw-r--r--src/web/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/router.php b/src/web/router.php
index 536e228..57b69c0 100644
--- a/src/web/router.php
+++ b/src/web/router.php
@@ -11,7 +11,7 @@ class Router {
$this->ldap = new LDAPHelper();
$this->auth = new AuthHelper();
- $this->domain = getenv("HTTP_HOST");
+ $this->domain = CONFIG["HTTP_HOST"];
}
/**