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,23 @@
<?php
/**
* XC_VM — Контроллер редактирования User-Agent (admin/useragent.php)
*/
namespace App\Http\Controllers\Admin;
class UseragentController extends BaseAdminController {
public function index() {
$this->requirePermission();
$rUAArr = null;
if (isset(\CoreUtilities::$rRequest['id'])) {
$rUAArr = getUserAgent(\CoreUtilities::$rRequest['id']);
if (!$rUAArr) {
$this->redirect('useragents');
return;
}
}
$this->setTitle('Block User-Agent');
$this->render('useragent', compact('rUAArr'));
}
}