Diff for phpMyEdit/phpMyEdit.class.php between version 1.170 and 1.171
version 1.170, 2006/01/24 16:32:09 |
version 1.171, 2006/02/16 16:45:42 |
|
|
{ |
{ |
// just try the first language and variant |
// just try the first language and variant |
// this isn't content-negotiation rfc compliant |
// this isn't content-negotiation rfc compliant |
$language = strtoupper(substr($language,0,5)); |
$language = strtoupper($language); |
|
|
// try the full language w/ variant |
// try the full language w/ variant |
$file = $this->dir['lang'].'PME.lang.'.$language.'.inc'; |
$file = $this->dir['lang'].'PME.lang.'.$language.'.inc'; |
Platon Group <platon@platon.org> http://platon.org/
|
|