Skip to content

Commit

Permalink
Merge pull request #1125 from QWp6t/master
Browse files Browse the repository at this point in the history
Defines WP_ENV if it is not already defined.
  • Loading branch information
QWp6t committed Aug 14, 2014
2 parents 9b260f1 + 1c171bc commit 3431bc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
*/
define('GOOGLE_ANALYTICS_ID', ''); // UA-XXXXX-Y (Note: Universal Analytics only, not Classic Analytics)

if (!defined('WP_ENV')) {
define('WP_ENV', 'development'); // scripts.php checks for values 'production' or 'development'
}

/**
* .main classes
*/
Expand Down

0 comments on commit 3431bc3

Please sign in to comment.