Version and PHP8.1 deprecated

This commit is contained in:
sparkyx 2025-07-09 22:52:04 +02:00
parent 085ec2fa63
commit 1c0cc54882

View file

@ -331,6 +331,7 @@ class Securimage {
*/
var $signature_color;
var $signature_font;
/**
* Full path to the WAV files to use to make the audio files, include trailing /.<br />
* Name Files [A-Z0-9].wav
@ -839,6 +840,8 @@ class Securimage {
for ($i = 0; $i < $n; ++$i) {
$x = $x0 + $i * $dx + $amp * $dy * sin($k * $i * $step + $phi);
$y = $y0 + $i * $dy - $amp * $dx * sin($k * $i * $step + $phi);
$x=(int) $x;
$y=(int) $y;
imagefilledrectangle($this->im, $x, $y, $x + $lwid, $y + $lwid, $this->gdlinecolor);
}
}