Hostname specific wp-config statement
/**
* Hostname specific wp-config statement
*
* @author Mirco Babini <mirkolofio@gmail.com>
* @uses hostname (): */
if (!function_exists ('hostname')) {
function hostname () { return trim (php_uname ("n")); } } /*
*
* Place these lines before the first cond. statement in wp-load.php
*/
$hostname = hostname ();
// var_dump ($hostname); die;
if (file_exists (ABSPATH."wp-config-{$hostname}.php")) {
/** Hostname specific wp-config */
require_once (ABSPATH."wp-config-{$hostname}.php");
} else /* if (..) { .. */