Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Fix BasicAuthIsTurnedOn check
Browse files Browse the repository at this point in the history
  • Loading branch information
arrilot committed Jun 4, 2019
1 parent 077c6d2 commit 53c4335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checks/Custom/BasicAuthIsTurnedOn.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function run()
return false;
}

$test2 = file_get_contents($page);
$test2 = @file_get_contents($page);
if ($test2 !== false) {
$this->logError('Страница ' . $page . ' не закрыта базовой авторизацией');
return false;
Expand Down

0 comments on commit 53c4335

Please sign in to comment.