Stage 6 has been completed, and some classes have been merged into one

This commit is contained in:
Divarion-D
2026-02-24 21:02:41 +03:00
parent 981de7f750
commit afa55322e2
456 changed files with 29633 additions and 22704 deletions
@@ -0,0 +1,26 @@
<?php
/**
* XC_VM — Контроллер редактирования Enigma-устройства (admin/enigma.php)
*/
namespace App\Http\Controllers\Admin;
class EnigmaController extends BaseAdminController {
public function index() {
$this->requirePermission();
$rDevice = null;
if (isset(\CoreUtilities::$rRequest['id'])) {
$rDevice = getEnigma(\CoreUtilities::$rRequest['id']);
if (!$rDevice['user_id']) {
exit();
}
}
if (isset($rDevice) && !isset($rDevice['user'])) {
$rDevice['user'] = array('bouquet' => array());
}
$this->setTitle('Enigma Device');
$this->render('enigma', compact('rDevice'));
}
}