Skip to content
Browse files

Add a WP_STAGE stub for designating the stage during deployment

  • Loading branch information...
1 parent 038db48 commit 519720f37c0d0b0a6b60a2b718adfa86eacd5e38 @markjaquith committed Jun 6, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 wp-config.php
View
5 wp-config.php
@@ -69,6 +69,11 @@
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
// ===================

0 comments on commit 519720f

Please sign in to comment.
Something went wrong with that request. Please try again.