add helper getLang in session
This commit is contained in:
@@ -33,4 +33,9 @@ class Session extends BaseSession {
|
|||||||
return $this->get("locale", "en_US");
|
return $this->get("locale", "en_US");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getLang()
|
||||||
|
{
|
||||||
|
return $this->get("lang", "en");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user