WordPress 2
WordPress 2 is fully compatible with OutSite-In.
In order to take your WordPress 2 web site on CD or simply offline, we recommend you to:
Modify the "\wp-config.php" file by editing your offline files directory:
Find the line with :
define('DB_HOST', '...');
and change it to :
define('DB_HOST', 'localhost');
Modify the "wp-includes\functions.php" file by editing your offline files directory:
/* Options functions */
function get_option($setting) {
global $wpdb;
if (($setting == 'siteurl') || ($setting == 'home')) {
$pre = 'http://'.$_SERVER["HTTP_HOST"];
return $pre;
}
// Allow plugins to short-circuit options.
$pre = apply_filters( 'pre_option_' . $setting, false );
if ( $pre )
return $pre;
[...]