14 lines
285 B
PHP
14 lines
285 B
PHP
<?php
|
|
if (! function_exists('env')) {
|
|
/**
|
|
* Gets the value of an environment variable.
|
|
*
|
|
* @param string $key
|
|
* @param mixed $default
|
|
* @return mixed
|
|
*/
|
|
function env($key, $default = null)
|
|
{
|
|
return Env::get($key, $default);
|
|
}
|
|
} |