Skip to content

Commit

Permalink
Merge bd64211 into de47f36
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoba committed May 15, 2020
2 parents de47f36 + bd64211 commit df35100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/GraphqliteCompilerPass.php
Expand Up @@ -260,7 +260,7 @@ public function process(ContainerBuilder $container): void
$this->mapAdderToTag('graphql.type_mapper_factory', 'addTypeMapperFactory', $container, $schemaFactory);

// Configure cache
if (ApcuAdapter::isSupported() && (PHP_SAPI !== 'cli' || filter_var(ini_get('apc.enabled_cli')))) {
if (ApcuAdapter::isSupported() && (PHP_SAPI !== 'cli' || filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN))) {
$container->setAlias('graphqlite.cache', 'graphqlite.apcucache');
} else {
$container->setAlias('graphqlite.cache', 'graphqlite.phpfilescache');
Expand Down

0 comments on commit df35100

Please sign in to comment.