diff options
author | Freya Murphy <freya@freyacat.org> | 2024-11-26 11:52:43 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-11-26 11:52:43 -0500 |
commit | f5841f8ebec338fe2af87a2e50d105560b9994ba (patch) | |
tree | 94557f06567179a86b2264e7cd16951bc4de1c1f /src/web/router.php | |
parent | new style, add redirect support (diff) | |
download | ldap_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.php | 2 |
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"]; } /** |