diff options
Diffstat (limited to 'theme')
| -rw-r--r-- | theme/mwvms.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/mwvms.php b/theme/mwvms.php index 430fa37..a61064f 100644 --- a/theme/mwvms.php +++ b/theme/mwvms.php @@ -1,6 +1,6 @@ <?php require '../php/definitions.php'; # Variables and constants definition -$mdata = file('../'.$dpath.'/'.$common, FILE_IGNORE_NEW_LINES); +$wsdata = file('../'.$dpath.'/'.$common, FILE_IGNORE_NEW_LINES); $fontsize = 25; $angle = 0; @@ -13,7 +13,7 @@ $im = imagecreate(266, 66); $background = imagecolorallocate($im, 0, 0, 0); $text_color = imagecolorallocate($im, 255, 255, 255); // Add the text -imagettftext($im, $fontsize, $angle, $x, $y, $text_color, $mdata[1], $mdata[0]); +imagettftext($im, $fontsize, $angle, $x, $y, $text_color, $wsdata[1], $wsdata[0]); // Set the content-type header('Content-Type: image/png'); |