refactoring lang class.
This commit is contained in:
@@ -63,10 +63,7 @@ class Lang {
|
||||
*/
|
||||
public function get($language = null, $default = null)
|
||||
{
|
||||
if (is_null($language))
|
||||
{
|
||||
$language = Config::get('application.language');
|
||||
}
|
||||
if (is_null($language)) $language = Config::get('application.language');
|
||||
|
||||
list($module, $file, $line) = $this->parse($this->key, $language);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user