https://github.com/herm71/wp-config-local
A local WP-Config file that can be used in conjunction with a local development environment in a git workflow.
https://github.com/herm71/wp-config-local
Last synced: about 1 month ago
JSON representation
A local WP-Config file that can be used in conjunction with a local development environment in a git workflow.
- Host: GitHub
- URL: https://github.com/herm71/wp-config-local
- Owner: Herm71
- Created: 2013-12-07T15:49:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-07T16:02:02.000Z (over 12 years ago)
- Last Synced: 2025-03-23T07:32:05.463Z (about 1 year ago)
- Language: PHP
- Size: 105 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wp-config-local
===============
/**
* WP-Local configuration for local WordPress. development environment.
*
* This file works in conjunction with a special if-statement placed in your
* wp-config file.
*
* For use in local development environment.
* Make sure to add wp-config.local.php to your .gitignore file.
* This file SHOULD NOT be on the production server
*
* Place following if-statement in wp-config.php:
*
*
* if (file_exists(dirname(__FILE__). '/wp-config.local.php')) {
* include (dirname(__FILE__). '/wp-config.local.php');
* }
*
* else {
* ** Live server's MySQL settings here **
* }
* @author Jason Chafin, Blackbird Consulting
*/