Skip to content

Commit

Permalink
Merge pull request #229 from dvorakluk/env_bool
Browse files Browse the repository at this point in the history
env variables are strings
  • Loading branch information
swalkinshaw committed Jan 17, 2016
2 parents 0d37df9 + bdeef4e commit 985c5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
* Custom Settings
*/
define('AUTOMATIC_UPDATER_DISABLED', true);
define('DISABLE_WP_CRON', getenv('DISABLE_WP_CRON') ?: false);
define('DISABLE_WP_CRON', getenv('DISABLE_WP_CRON') == 'true');
define('DISALLOW_FILE_EDIT', true);

/**
Expand Down

0 comments on commit 985c5ff

Please sign in to comment.