From d955446b99551b0ffa5365a57f2835b519880d6f Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 26 Sep 2023 03:54:38 +0300 Subject: [PATCH] add getDefaultUserStatus method #14 --- src/app/model/website.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/model/website.php b/src/app/model/website.php index 8221cc5..25e1331 100644 --- a/src/app/model/website.php +++ b/src/app/model/website.php @@ -24,6 +24,11 @@ public function getUrl() : string return $this->_config->url; } + public function getDefaultUserStatus() : bool + { + return $this->_config->default->user->status; + } + public function getDefaultUserApproved() : bool { return $this->_config->default->user->approved;