Fixed issue #3 : Path of languages icons was wrong in language class.
This commit is contained in:
parent
41768e6a3a
commit
454c51ce74
@ -169,11 +169,11 @@ var $status = null;
|
||||
function getIcone()
|
||||
{
|
||||
/* recuperation de l'image de la langue courante */
|
||||
if (file_exists($GLOBALS['CONF_DATA_PATH']."data/image/language/".strtolower($this->getCode()).".png"))
|
||||
if (file_exists($GLOBALS['CONF_DATA_PATH']."data/image/icons/language/".strtolower($this->getCode()).".png"))
|
||||
{
|
||||
$img=$GLOBALS['CONF_DATA_PATH']."data/image/language/".strtolower($this->getCode()).".png";
|
||||
$img=$GLOBALS['CONF_DATA_PATH']."data/image/icons/language/".strtolower($this->getCode()).".png";
|
||||
}else{
|
||||
$img=$GLOBALS['CONF_DATA_PATH']."data/image/language/default.png";
|
||||
$img=$GLOBALS['CONF_DATA_PATH']."data/image/icons/language/default.png";
|
||||
}
|
||||
return $img;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user