2026-02-04 23:31:53 +01:00
|
|
|
<?php
|
2026-03-05 11:17:42 +01:00
|
|
|
|
2026-02-04 23:31:53 +01:00
|
|
|
use MintyPHP\Buffer;
|
2026-03-06 11:28:22 +01:00
|
|
|
use MintyPHP\Http\SessionStoreInterface;
|
2026-02-04 23:31:53 +01:00
|
|
|
use MintyPHP\Support\Guard;
|
|
|
|
|
|
2026-03-06 11:28:22 +01:00
|
|
|
$session = app(SessionStoreInterface::class)->all();
|
2026-02-04 23:31:53 +01:00
|
|
|
Guard::requireLogin();
|
|
|
|
|
|
2026-03-06 11:28:22 +01:00
|
|
|
$user = $session['user'] ?? null;
|
2026-02-04 23:31:53 +01:00
|
|
|
$first_name = $user['first_name'] ?? '';
|
|
|
|
|
|
|
|
|
|
Buffer::set('title', t('Admin'));
|
2026-04-05 17:17:06 +02:00
|
|
|
|
|
|
|
|
$breadcrumbs = [
|
2026-04-25 23:35:03 +02:00
|
|
|
['label' => t('Login'), 'path' => 'login'],
|
2026-04-05 17:17:06 +02:00
|
|
|
['label' => t('Home')],
|
|
|
|
|
];
|