Fix environment_variables name (#1212)
This commit is contained in:
parent
ad9ed5ea00
commit
bad9ae58e8
3 changed files with 3 additions and 2 deletions
|
@ -78,7 +78,7 @@ class EnvironmentService
|
|||
}
|
||||
|
||||
// Process variables set in the configuration file.
|
||||
foreach ($this->config->get('pterodactyl.environment_mappings', []) as $key => $object) {
|
||||
foreach ($this->config->get('pterodactyl.environment_variables', []) as $key => $object) {
|
||||
if (is_callable($object)) {
|
||||
$variables[$key] = call_user_func($object, $server);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue