1
0
Fork 0

escape_tags calls

implement escapeTags function
This commit is contained in:
Adam Magness 2018-11-08 10:20:03 -05:00
commit 0e01568ccd
16 changed files with 52 additions and 50 deletions

View file

@ -2478,9 +2478,9 @@ function admin_page_viewlogs(App $a)
}
$seek = fseek($fp, 0 - $size, SEEK_END);
if ($seek === 0) {
$data = escape_tags(fread($fp, $size));
$data = Strings::escapeTags(fread($fp, $size));
while (!feof($fp)) {
$data .= escape_tags(fread($fp, 4096));
$data .= Strings::escapeTags(fread($fp, 4096));
}
}
}