Skip to content

Commit

Permalink
Update getenv function
Browse files Browse the repository at this point in the history
  • Loading branch information
sadok-f committed May 3, 2016
1 parent b6aabce commit 37407a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/**
* Register Fly System Provider
*/
if (getenv('cache') || $app['params']['cache']) {
if (getenv('cache') == 1 || $app['params']['cache']) {
$client = new Client('tcp://redis-service:6379');
$adapter = 'League\Flysystem\Cached\CachedAdapter';
$args = [
Expand Down

0 comments on commit 37407a4

Please sign in to comment.