first commit

This commit is contained in:
root
2026-01-10 16:16:39 +03:00
commit 5f5a28e292
154 changed files with 21454 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Controllers;
class Landing extends BaseController
{
public function index()
{
// Если пользователь уже залогинен, редиректим его сразу на выбор орги
if (session()->get('isLoggedIn')) {
return redirect()->to('/organizations');
}
return $this->renderTwig('landing/index');
}
}