add default locale settings

This commit is contained in:
ghost 2023-09-26 22:40:17 +03:00
parent f39d3d8ea4
commit 451df36fc2
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -3,6 +3,7 @@
"url":"",
"default":
{
"locale":"en-US",
"user":
{
"status": true,