Archived
Add a WP_STAGE stub for designating the stage during deployment
This commit is contained in:
1 parent
038db48f6a
commit
519720f37c
1 file changed
+5
@@ -69,6 +69,11 @@ define( 'WP_DEBUG_DISPLAY', false );
|
||||
if ( file_exists( dirname( __FILE__ ) . '/memcached.php' ) )
|
||||
$memcached_servers = include( dirname( __FILE__ ) . '/memcached.php' );
|
||||
|
||||
// ===========================================================================================
|
||||
// This can be used to programatically set the stage when deploying (e.g. production, staging)
|
||||
// ===========================================================================================
|
||||
define( 'WP_STAGE', '%%WP_STAGE%%' );
|
||||
|
||||
// ===================
|
||||
// Bootstrap WordPress
|
||||
// ===================
|
||||
|
||||
Reference in new issue
Block a user