Created
May 20, 2015 15:00
-
-
Save teckx5/dec4ef6fc83d1df5f634 to your computer and use it in GitHub Desktop.
Drupal Environment Indicators to help visually manage Dev, Staging, and Production Servers
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
// Add to each environment settings.php file | |
// Local/Development Server | |
$conf['environment_indicator_overwrite'] = TRUE; | |
$conf['environment_indicator_overwritten_name'] = 'Local'; | |
$conf['environment_indicator_overwritten_color'] = '#bb0000'; | |
// Staging Server | |
$conf['environment_indicator_overwrite'] = TRUE; | |
$conf['environment_indicator_overwritten_name'] = 'Stage'; | |
$conf['environment_indicator_overwritten_color'] = '#00bb00'; | |
// Production Server | |
$conf['environment_indicator_overwrite'] = TRUE; | |
$conf['environment_indicator_overwritten_name'] = 'Production'; | |
$conf['environment_indicator_overwritten_color'] = '#0000bb'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment