Adding the extended messages for exceptions
This commit is contained in:
@ -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'];
|
||||||
|
Reference in New Issue
Block a user