Skip to content

Commit 801542f

Browse files
authored
Merge pull request #252 from topcoder-platform/issues-217
Issues-247:CacheEnabled must be boolean
2 parents e6cd301 + a095901 commit 801542f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/vanilla/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$Configuration['Database']['Password'] = getenv('MYSQL_ROOT_PASSWORD');
99

1010
// Cache
11-
$Configuration['Cache']['Enabled'] = getenv('CACHE_ENABLED');
11+
$Configuration['Cache']['Enabled'] = strtolower(getenv('CACHE_ENABLED')) === "true";
1212
$Configuration['Cache']['Method'] = getenv('CACHE_METHOD');
1313
$Configuration['Cache']['Memcached']['Store']=[getenv('MEMCACHED_SERVER')];
1414

0 commit comments

Comments
 (0)