Skip to content

Commit

Permalink
Don't require dev value to be set in .env.
Browse files Browse the repository at this point in the history
  • Loading branch information
martywallace committed Jun 30, 2017
1 parent fcf0c79 commit 621bcd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "martywallace/tempest",
"version": "4.1.0",
"version": "4.1.1",
"description": "A tiny PHP framework.",
"homepage": "https://github.com/MartyWallace/Tempest",
"type": "library",
Expand Down
2 changes: 0 additions & 2 deletions src/Tempest/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public static function load($root) {
if (is_file(rtrim($root, '/') . '/.env')) {
self::$_env = new DotEnv($root);
self::$_env->load();

self::$_env->required('dev')->allowedValues(['true', 'false']);
} else {
// No .env variables declared.
// ...
Expand Down

0 comments on commit 621bcd0

Please sign in to comment.