diff --git a/src/app/model/website.php b/src/app/model/website.php index 25e1331..f1d4f9f 100644 --- a/src/app/model/website.php +++ b/src/app/model/website.php @@ -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; diff --git a/src/config/website.json b/src/config/website.json index 8b71e09..6797314 100644 --- a/src/config/website.json +++ b/src/config/website.json @@ -3,6 +3,7 @@ "url":"", "default": { + "locale":"en-US", "user": { "status": true,