mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add additional security improvements to the dev branch.
This commit is contained in:
@@ -95,7 +95,6 @@ function imagettfbbox_custom($size, $angle, $font, $text) {
|
||||
return $bbox;
|
||||
}
|
||||
|
||||
|
||||
// Create the image
|
||||
$size = imagettfbbox_custom($fontsize, 0, $font, $text);
|
||||
$width = $size[2] + $size[0] + 8;
|
||||
@@ -120,4 +119,4 @@ header("Content-type: image/png");
|
||||
// Using imagepng() results in clearer text compared with
|
||||
imagepng($im);
|
||||
imagedestroy($im);
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user