Repl FILTER_VALIDATE_BOOLEAN to FILTER_VALIDATE_BOOL
This commit is contained in:
parent
6f58d634a4
commit
19a7842b7a
2 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ class ErrorHandler
|
|||
|
||||
EOT;
|
||||
|
||||
if (\filter_var(\ini_get('display_errors'), \FILTER_VALIDATE_BOOLEAN)) {
|
||||
if (\filter_var(\ini_get('display_errors'), \FILTER_VALIDATE_BOOL)) {
|
||||
echo '<p>' . $this->e($this->message($error)) . '</p>';
|
||||
|
||||
if (
|
||||
|
|
|
@ -1468,7 +1468,7 @@ class Install extends Admin
|
|||
'b_regs_report' => 0,
|
||||
'i_default_email_setting' => 2,
|
||||
'o_mailing_list' => $v->email,
|
||||
'b_avatars' => \filter_var(@\ini_get('file_uploads'), \FILTER_VALIDATE_BOOLEAN) ? 1 : 0,
|
||||
'b_avatars' => \filter_var(\ini_get('file_uploads'), \FILTER_VALIDATE_BOOL) ? 1 : 0,
|
||||
'o_avatars_dir' => '/img/avatars',
|
||||
'i_avatars_width' => 160,
|
||||
'i_avatars_height' => 160,
|
||||
|
|
Loading…
Reference in a new issue