fixing bugs and refactoring.

This commit is contained in:
Taylor Otwell
2011-10-15 22:38:43 -05:00
parent b40e69c47a
commit a7e98e8e9a
7 changed files with 57 additions and 34 deletions

View File

@@ -72,7 +72,7 @@ class Lang {
*/
public static function line($key, $replacements = array(), $language = null)
{
if (is_null($language)) $language = Config::get('application.language');
if (is_null($language)) $language = Config::$items['application']['language'];
return new static($key, $replacements, $language);
}