Update install_select_language.php

This commit is contained in:
FusionPBX 2017-03-22 01:25:28 -06:00 committed by GitHub
parent 547f45e790
commit b98609719b
1 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,9 @@
echo "/>";
echo " </td>";
echo " <td class='vtable' align='left' valign='top' nowrap='nowrap'>\n";
echo " <img src='<!--{project_path}-->/core/install/resources/images/flags/$lang_code.png' alt='$lang_code'/>&nbsp;".$text["language-$lang_code"];
if (file_exists($_SERVER["PROJECT_ROOT"]."/core/install/resources/images/flags/$lang_code.png")) {
echo " <img src='<!--{project_path}-->/core/install/resources/images/flags/$lang_code.png' alt='$lang_code'/>&nbsp;".$text["language-$lang_code"];
}
echo " </td>";
echo " <td width='100%' class='vtable' valign='top'>\n";
echo " &nbsp;\n";
@ -62,4 +64,4 @@
echo "</table>";
echo "<br><br>";
?>
?>