Created
July 15, 2020 14:43
-
-
Save mpstenson/259a088945a4506f41120499d5c0b646 to your computer and use it in GitHub Desktop.
This blackbox portal file loads a different ldap configuration based on the portal you are visiting. Useful for if you need multiple configurations of adldap.php for different domains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (cMULTIPORTAL == 1) { | |
//if in secondary portal id 1 load adLDAP-1.php | |
require_once("adLDAP-1.php"); | |
} | |
else{ | |
//if we are not in a secondary portal load the default file. | |
require_once("adLDAP.php"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment