Version and PHP8.1 deprecated

This commit is contained in:
sparkyx 2025-07-09 16:23:39 +02:00
parent 069cb9897b
commit 9bc6669706
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -25,7 +25,7 @@
global $version_noalyss; global $version_noalyss;
// version // version
define('NOALYSS_VERSION', 9308 ); define('NOALYSS_VERSION', 9309 );
// Database schema version // Database schema version
define("DBVERSION", 203); define("DBVERSION", 203);