- Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwp-config.php
More file actions
Latest commit
15 lines (13 loc) · 490 Bytes
/
Copy pathwp-config.php
File metadata and controls
15 lines (13 loc) · 490 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
* WordPress Local Development Config File, set to include the unique wp-config.php file from each
* site in the local development environment.
*
* This allows you to run multiple sites off one instance of WordPress core files
*/
if ( file_exists( dirname(__FILE__) . '/' . $_SERVER['SERVER_NAME'] . '/wp-config.php' ) ) {
require_once( dirname(__FILE__) . '/' . $_SERVER['SERVER_NAME'] . '/wp-config.php' );
} else {
echo"Sorry, no configuration defined.";
die;
}