env returns an environment variable
This commit is contained in:
parent
61e3dfa0ec
commit
52d8e4c626
2 changed files with 30 additions and 0 deletions
|
@ -1,2 +1,8 @@
|
|||
<?php
|
||||
|
||||
if (!function_exists('env')) {
|
||||
function env(string $name): ?string
|
||||
{
|
||||
return $_ENV[$name];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue