add getDefaultUserStatus method #14

This commit is contained in:
ghost 2023-09-26 03:54:38 +03:00
parent 0672f0349e
commit d955446b99

View File

@ -24,6 +24,11 @@ class AppModelWebsite
return $this->_config->url; return $this->_config->url;
} }
public function getDefaultUserStatus() : bool
{
return $this->_config->default->user->status;
}
public function getDefaultUserApproved() : bool public function getDefaultUserApproved() : bool
{ {
return $this->_config->default->user->approved; return $this->_config->default->user->approved;