Created
December 8, 2016 15:54
-
-
Save lsmith77/d5dcb2feab440ff7906b1ac49f4d94d3 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
$security_provider = getenv('SECURITY_PROVIDER'); | |
if (empty($security_provider)) { | |
if ('dev' === getenv('APP_ENVIRONMENT')) { | |
$security_provider = 'chain_provider'; | |
} else { | |
$security_provider = 'ldap'; | |
} | |
} | |
$container->setParameter('security_provider', $security_provider); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment