Skip to content

Commit a095901

Browse files
committed
Issues-247:CacheEnabled must be boolean
1 parent 2f75cf1 commit a095901

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)