summary refs log tree commit diff stats
path: root/php/ws-procedures.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/ws-procedures.php')
-rw-r--r--php/ws-procedures.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/php/ws-procedures.php b/php/ws-procedures.php
index 5dc685a..d1536e7 100644
--- a/php/ws-procedures.php
+++ b/php/ws-procedures.php
@@ -1,10 +1,10 @@
 <?php
 //read the file and create array separate by new line
-$mdata = file($dpath.'/'.$common, FILE_IGNORE_NEW_LINES);
+$wsdata = file($dpath.'/'.$common, FILE_IGNORE_NEW_LINES);
 
 # Language overwritten by the browser preference
 if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
-  $mdata[3] = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0,2);
+  $wsdata[3] = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0,2);
 
-$mdata = array_merge($mdata, file($dpath.$mdata[3].'/'.$common, FILE_IGNORE_NEW_LINES));
+$wsdata = array_merge($wsdata, file($dpath.$wsdata[3].'/'.$common, FILE_IGNORE_NEW_LINES));
 ?>