Removed deprecated functions: utf8_encode & decode

This commit is contained in:
slawkens
2023-08-05 19:58:52 +02:00
parent 8796ff7e72
commit a338fd967c
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ if(!@file_exists($page_file))
// set text
$font = getenv('GDFONTPATH') . DIRECTORY_SEPARATOR . 'martel.ttf';
imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, utf8_decode($_GET['t']));
imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, $_GET['t']);
// header mime type
header('Content-type: image/gif');