You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,9 +138,8 @@ $dotenv->overload();
138
138
Requiring Variables to be Set
139
139
-----------------------------
140
140
141
-
Using Dotenv, you can require specific ENV vars to be defined, and throw
142
-
an Exception if they are not. This is particularly useful to let people know
143
-
any explicit required variables that your app will not work without.
141
+
Using Dotenv, you can require specific ENV vars to be defined ($_ENV, $_SERVER or getenv()) - throws an exception otherwise.
142
+
Note: It does not check for existence of a variable in a '.env' file. This is particularly useful to let people know any explicit required variables that your app will not work without.
0 commit comments