Skip to content
Snippets Groups Projects
Commit 21acec2c authored by totten's avatar totten
Browse files

CRM-14092 - CRM_Utils_Check_Security::isBrowseable - Fix warning

We don't care if there's an HTTP 404 when checking for browsability --
because 404 is another of saying "not browseable!"
parent 25314c39
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ class CRM_Utils_Check_Security {
// this could be a new system with uploads yet -- so we'll make a file
file_put_contents("$dir/$file", "delete me");
$content = file_get_contents("$url");
$content = @file_get_contents("$url");
if (stristr($content, $file)) {
$result = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment