mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-23 13:14:17 +00:00
add default locale settings
This commit is contained in:
parent
f39d3d8ea4
commit
451df36fc2
@ -24,6 +24,11 @@ class AppModelWebsite
|
||||
return $this->_config->url;
|
||||
}
|
||||
|
||||
public function getDefaultLocale() : string
|
||||
{
|
||||
return $this->_config->default->locale;
|
||||
}
|
||||
|
||||
public function getDefaultUserStatus() : bool
|
||||
{
|
||||
return $this->_config->default->user->status;
|
||||
|
@ -3,6 +3,7 @@
|
||||
"url":"",
|
||||
"default":
|
||||
{
|
||||
"locale":"en-US",
|
||||
"user":
|
||||
{
|
||||
"status": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user