I18n: fix typo
This commit is contained in:
parent
bc11f6784c
commit
6f47b2aea7
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class I18n {
|
||||||
*/
|
*/
|
||||||
public static function get_available_langs($as_locales=false) {
|
public static function get_available_langs($as_locales=false) {
|
||||||
if (!is_dir(self :: $root_path))
|
if (!is_dir(self :: $root_path))
|
||||||
Log :: fatal("Root land directory not found (%s)", self :: $root_path);
|
Log :: fatal("Root languages directory not found (%s)", self :: $root_path);
|
||||||
$langs = array(($as_locales?'en_US.UTF8':'en'));
|
$langs = array(($as_locales?'en_US.UTF8':'en'));
|
||||||
if ($dh = opendir(self :: $root_path)) {
|
if ($dh = opendir(self :: $root_path)) {
|
||||||
while (($file = readdir($dh)) !== false) {
|
while (($file = readdir($dh)) !== false) {
|
||||||
|
|
Loading…
Reference in a new issue