|
@ -30,7 +30,7 @@ class I18N |
|
|
$config = Config::get(__CLASS__); |
|
|
$config = Config::get(__CLASS__); |
|
|
|
|
|
|
|
|
if (!is_array($config['locales'])) { |
|
|
if (!is_array($config['locales'])) { |
|
|
throw new InitializationException('locales empty'); |
|
|
throw new InitializationException('key \'locales\' array\'s config is empty'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
self::$locales = $config['locales']; |
|
|
self::$locales = $config['locales']; |
|
|
xxxxxxxxxx