разработана аутентификация и регистрация аккаунта

This commit is contained in:
2023-03-08 21:43:33 +10:00
parent 0d6ceef0f9
commit 87bd15640a
24 changed files with 1082 additions and 1353 deletions

View File

@@ -24,7 +24,9 @@ final class index extends core
{
// Инициализация узлов
$this->view->nodes = [
'account' => $this->view->render(DIRECTORY_SEPARATOR . 'nodes' . DIRECTORY_SEPARATOR . (isset($this->account) ? 'profile.html' : 'authentication.html'))
'account' => $this->view->render(DIRECTORY_SEPARATOR . (isset($this->account->document)
? 'nodes' . DIRECTORY_SEPARATOR . 'profile.html'
: 'pages' . DIRECTORY_SEPARATOR . 'entry.html'))
/* 'account' => $this->view->render(DIRECTORY_SEPARATOR . 'nodes' . DIRECTORY_SEPARATOR . (isset($this->account) ? 'profile.html' : 'connect.html')) */
];