Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a WP_STAGE stub for designating the stage during deployment

  • Loading branch information...
commit 519720f37c0d0b0a6b60a2b718adfa86eacd5e38 1 parent 038db48
@markjaquith authored
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
// ===================
Please sign in to comment.
Something went wrong with that request. Please try again.