Skip to content
Snippets Groups Projects
Commit 384f991e authored by Tim Otten's avatar Tim Otten
Browse files

Merge pull request #2483 from totten/4.4-security-warning

CRM-14092 - CRM_Utils_Check_Security::isBrowseable - Fix warning
parents 25314c39 21acec2c
Branches
Tags
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