Browse Source

Adding the extended messages for exceptions

master
Vyacheslav Agafonov 13 years ago
parent
commit
79c541aa78
  1. 2
      i18n/I18N.php

2
i18n/I18N.php

@ -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'];

Loading…
Cancel
Save