Skip to content

Commit

Permalink
👍 Run job in hour
Browse files Browse the repository at this point in the history
  • Loading branch information
juzaweb committed Aug 18, 2023
1 parent 1f4881c commit 7eae14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Backend/Helpers/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,6 @@ function is_dev_tool_enable(): bool
return true;
}

return config('dev-tool.enable');
return config('dev-tool.enable', false);
}
}
2 changes: 1 addition & 1 deletion modules/CMS/config/dev-tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
// Enable dev tool in production
'enable' => env('JW_DEV_TOOL_ENABLE', false),
'enable' => (bool) env('JW_DEV_TOOL_ENABLE', false),

'themes' => [
'options' => [
Expand Down

0 comments on commit 7eae14e

Please sign in to comment.