summary refs log tree commit diff stats
path: root/theme/mwvms.php
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-10 20:33:00 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-10 20:33:00 +0100
commit4bf22916122e11046cf77a7dfc8868802c0ffb28 (patch)
treea679622a737225372a44610f6ab8840eb3babe23 /theme/mwvms.php
parentedcfa69dd6a0b240dc92be021c201e49c3d456b7 (diff)
downloadMightyWVMS-4bf22916122e11046cf77a7dfc8868802c0ffb28.tar.gz
Rename variable mdata to wsdata
Diffstat (limited to 'theme/mwvms.php')
-rw-r--r--theme/mwvms.php4
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');