Using Environment Variables #526
evertonpavan
started this conversation in
General
Replies: 1 comment 2 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys!
Is there some way to put the credentiais in some .env file, then catch e load in config.inc.local.php file?
for example:
// .env file
LDAP_URL=ldap://216.485.774.221
ADMIN_AD=cn=Administrator,cn=Users,dc=sam,dc=dom
PASSWORD_AD=password
// config.inc.local.php
...
$ldap_url = LDAP_URL //from .env file
$ldap_binddn = ADMIN_AD //from .env file
$ldap_bindpw = PASSWORD_AD //from .env file
...
Regards,
Everton
Beta Was this translation helpful? Give feedback.
All reactions