Skip to content

Commit

Permalink
add globals
Browse files Browse the repository at this point in the history
  • Loading branch information
Debian committed Jun 8, 2021
1 parent 78fd46a commit 23eef76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,9 @@ public function getLang($var)
* @return environment
*/

public function getEnv($varname)
public function getEnv($var)
{
$value = getenv($varname);
return $value;
return getenv($var);
}

/**
Expand Down

0 comments on commit 23eef76

Please sign in to comment.