An open API service indexing awesome lists of open source software.

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.

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
*/