Initial Release v1.0.0: Full feature set with Docker automation, Nginx/Alpine stack

This commit is contained in:
dyzulk
2026-01-16 11:21:32 +07:00
commit 45623973a8
139 changed files with 24302 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Controllers;
use App\Core\Controller;
class HomeController extends Controller {
public function __construct() {
\App\Core\Middleware::auth();
}
public function index() {
// Fetch real router sessions from Config model
$config = new \App\Models\Config();
$routers = $config->getAllSessions();
$data = [
'routers' => $routers
];
$this->view('home', $data);
}
public function designSystem() {
$data = ['title' => 'MIVO - Design System'];
$this->view('design_system', $data);
}
public function testAlert() {
\App\Helpers\FlashHelper::set('success', 'toasts.test_alert', 'toasts.test_alert_desc', [], true);
header("Location: /");
exit;
}
}