mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-04 19:13:04 -04:00
17 lines
334 B
PHP
17 lines
334 B
PHP
<?php
|
|
/** @phpstan-var \Gazelle\User $Viewer */
|
|
/** @phpstan-var \Twig\Environment $Twig */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
if (!$Viewer->permitted('site_view_flow')) {
|
|
Error403::error();
|
|
}
|
|
|
|
echo $Twig->render('admin/economy.twig', [
|
|
'eco' => new Stats\Economic(),
|
|
'torrent' => new Stats\Torrent(),
|
|
]);
|