Skip to content

Commit

Permalink
fixing (again) IS_SINGLE_ENVIRONMENT (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Oct 25, 2018
1 parent 68e3527 commit 2804dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aent/Context/BaseOrchestratorContext.php
Expand Up @@ -68,7 +68,7 @@ public static function fromMetadata()
{
$context = parent::fromMetadata();
$baseVirtualHost = Aenthill::metadata('BASE_VIRTUAL_HOST');
$singleEnvironment = (bool)Aenthill::metadata('IS_SINGLE_ENVIRONMENT');
$singleEnvironment = Aenthill::metadata('IS_SINGLE_ENVIRONMENT') === '1';
$self = new self($context->getEnvironmentType(), $context->getEnvironmentName(), $baseVirtualHost);
$self->setSingleEnvironment($singleEnvironment);
return $self;
Expand Down

0 comments on commit 2804dbb

Please sign in to comment.