Previously I was able to change $font = IMAGE_PATH.'/sig/font/DejaVuSans.ttf'; to absolute path, then it worked.
$font = 'C:/xampp/htdocs/ggturbo.ddns.net/hlstatsimg/sig/font/DejaVuSans.ttf';
That change is no longer working.
Saw this in error logs:
[Tue Jun 27 18:14:33.328722 2023] [php:notice] [pid 11664:tid 1792] [client 185.202.220.58:34584] PHP Deprecated: Implicit conversion from float 0.1322222222222222 to int loses precision in C:\\xampp\\htdocs\\ggturbo.ddns.net\\sig.php on line 407, referer: https://ggturbo.ddns.net/hlstats.php?mode=playerinfo&player=1 [Tue Jun 27 18:14:33.329665 2023] [php:notice] [pid 11664:tid 1792] [client 185.202.220.58:34584] PHP Deprecated: Implicit conversion from float 7.933333333333334 to int loses precision in C:\\xampp\\htdocs\\ggturbo.ddns.net\\sig.php on line 410, referer: https://ggturbo.ddns.net/hlstats.php?mode=playerinfo&player=1
Previously I was able to change
$font = IMAGE_PATH.'/sig/font/DejaVuSans.ttf';
to absolute path, then it worked.$font = 'C:/xampp/htdocs/ggturbo.ddns.net/hlstatsimg/sig/font/DejaVuSans.ttf';
That change is no longer working.Saw this in error logs:
[Tue Jun 27 18:14:33.328722 2023] [php:notice] [pid 11664:tid 1792] [client 185.202.220.58:34584] PHP Deprecated: Implicit conversion from float 0.1322222222222222 to int loses precision in C:\\xampp\\htdocs\\ggturbo.ddns.net\\sig.php on line 407, referer: https://ggturbo.ddns.net/hlstats.php?mode=playerinfo&player=1 [Tue Jun 27 18:14:33.329665 2023] [php:notice] [pid 11664:tid 1792] [client 185.202.220.58:34584] PHP Deprecated: Implicit conversion from float 7.933333333333334 to int loses precision in C:\\xampp\\htdocs\\ggturbo.ddns.net\\sig.php on line 410, referer: https://ggturbo.ddns.net/hlstats.php?mode=playerinfo&player=1