mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
add default locale settings
This commit is contained in:
parent
f39d3d8ea4
commit
451df36fc2
2 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,11 @@ class AppModelWebsite
|
||||||
return $this->_config->url;
|
return $this->_config->url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDefaultLocale() : string
|
||||||
|
{
|
||||||
|
return $this->_config->default->locale;
|
||||||
|
}
|
||||||
|
|
||||||
public function getDefaultUserStatus() : bool
|
public function getDefaultUserStatus() : bool
|
||||||
{
|
{
|
||||||
return $this->_config->default->user->status;
|
return $this->_config->default->user->status;
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
"url":"",
|
"url":"",
|
||||||
"default":
|
"default":
|
||||||
{
|
{
|
||||||
|
"locale":"en-US",
|
||||||
"user":
|
"user":
|
||||||
{
|
{
|
||||||
"status": true,
|
"status": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue