Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: migrations not working on install due to debug mode not being bo… #191

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/app_local.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Development Mode:
* true: Errors and warnings shown.
*/
'debug' => filter_var(env('DEBUG', 0), FILTER_VALIDATE_INT, array("options" => array("min_range"=>0, "max_range"=>1))),
'debug' => filter_var(env('DEBUG', false), FILTER_VALIDATE_BOOLEAN),

/*
* Security and encryption configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ protected function generateSettingsConfiguration()
'description' => __('The debug level of the instance'),
'default' => 0,
'options' => [
0 => __('Debug Off'),
1 => __('Debug On'),
false => __('Debug Off'),
true => __('Debug On'),
],
'test' => function ($value, $setting, $validator) {
$validator->range('value', [0, 1]);
Expand Down
Loading