Skip to content

Commit 7a0649c

Browse files
committed
update config
1 parent 48dcc35 commit 7a0649c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/larecipe.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
*/
7070

7171
'cache' => [
72-
'enabled' => env('APP_ENV') == 'staging' && env('APP_DEBUG') == false ? true : false,
73-
'period' => 25200 // 7 days -- value in minutes
72+
'enabled' => (env('APP_ENV') == 'staging' && env('APP_DEBUG') == false) ? true : false,
73+
'period' => (env('APP_ENV') == 'staging' && env('APP_DEBUG') == false) ? 25200 : 0 // 7 days -- value in minutes
7474
],
7575

7676
/*

0 commit comments

Comments
 (0)