Commit 320086ae authored by Konstantin Pavlov's avatar Konstantin Pavlov

i18n: fixed vlcstat html generation

languages needs a newline at the end
don't hardcode the server images path
parent 8e7921d5
......@@ -103,4 +103,5 @@ Uzbek|uz.po|Umidjon Almasov|u.almasov at gmail dot com
Vietnamese|vi.po|Anh Phan|vietnamesel10n at gmail dot com
Walloon|wa.po|Gaëtan Rousseaux|gaytan at skynet dot be
Welsh|cy.po|Huw Waters|huwwaters at gmail dot com
Zulu|zu.po|Sipho Sibiya|sipho at translate dot org dot za
\ No newline at end of file
Zulu|zu.po|Sipho Sibiya|sipho at translate dot org dot za
......@@ -24,9 +24,8 @@
$path = "/var/www/local/";
$reffile = "$path/vlc-stats.ref";
$lgfile = "$path/languages";
$reffile = "./vlc-stats.ref";
$lgfile = "./languages";
$file_id= fopen($reffile,"r");
$contents = fread ($file_id, filesize($reffile) );
......@@ -70,7 +69,7 @@
imagestring( $image, 5, 65, 2 , floor($pc_tr)."%" , $black);
/* Save and destroy the image */
/* Display results */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment