Created
October 10, 2014 23:22
-
-
Save guillaumemolter/0de5b930cfdb9912cb80 to your computer and use it in GitHub Desktop.
Modify wp-config.php for versioning and colloboration by replacing the standard DB_* & WP_DEBUG configs by the following lines.
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 | |
/* local-settings.php is gitignored so you can put local config in it see - https://gist.github.com/guillaumemolter/2d746cda246ae018bd8a */ | |
if(file_exists(ABSPATH . 'local-settings.php')){ | |
require_once(ABSPATH . 'local-settings.php'); | |
} | |
else{ | |
die(ABSPATH . "local-settings.php is missing, please read the repo's readme.md"); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment