Hey,
Anyone here using https://github.com/markjaquith/WordPress-Skeleton?
Seems pretty cool. Wondering, anyone have an idea how I could modify this portion of the wp-config to allow for a staging server? So, localhost, staging, and then production (live).
[php]
if ( file_exists( dirname( FILE ) . ‘/local-config.php’ ) ) {
define( ‘WP_LOCAL_DEV’, true );
include( dirname( FILE ) . ‘/local-config.php’ );
} else {
define(‘DB_NAME’, ‘xxxx’);
define(‘DB_USER’, ‘xxxx’);
define(‘DB_PASSWORD’, ‘xxxx’);
define(‘DB_HOST’, ‘xxxx’);
}
[/php]
Also, is there a point to defining WP_MEMORY_LIMIT on Dreamhost Shared Hosting? I’d imagine they have their own methods to restrict and balance sites memory usage.