Fix environment_variables name (#1212)

This commit is contained in:
Sergzy 2018-06-30 22:25:40 +02:00 committed by Dane Everitt
parent ad9ed5ea00
commit bad9ae58e8
3 changed files with 3 additions and 2 deletions

View file

@ -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 {