Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Jan 31, 2024
1 parent d318b89 commit 2cd52ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Recipes/Laravel/LaravelRecipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public function customize_init(Command $parent_command, string $env_content): st
if ($application_env === 'production') {
$enable_opcache = $parent_command->confirm("Should OpCache be enabled?");
$this->set_env($env_content, 'OPCACHE_ENABLED', $enable_opcache ? 1 : 0);
}else{
$this->set_env($env_content, 'OPCACHE_ENABLED', 0);
}

//<editor-fold desc="Network Configuration">
Expand Down

0 comments on commit 2cd52ae

Please sign in to comment.