mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-04 04:02:30 +02:00
- Add @author, @copyright, @link, @version, @license to 399 PHP files - MERGE mode: inject metadata into 243 existing docblocks (preserving docs) - INSERT mode: create new docblocks for 156 files without headers - Skip 3 files that already had correct headers - Exclude third-party libs (TMDb, mobiledetect, Dropbox, etc.) - Exclude bin/, ministra/, content/, tmp/, resources/, module views - Update tools/add_headers.php to v2 with MERGE strategy
27 lines
717 B
PHP
27 lines
717 B
PHP
<?php
|
|
/**
|
|
* ServerOrderController — Server Order.
|
|
*
|
|
* @package XC_VM_Public_Controllers_Admin
|
|
* @author Divarion_D <https://github.com/Divarion-D>
|
|
* @copyright 2025-2026 Vateron Media
|
|
* @link https://github.com/Vateron-Media/XC_VM
|
|
* @license AGPL-3.0 https://www.gnu.org/licenses/agpl-3.0.html
|
|
*/
|
|
|
|
class ServerOrderController extends BaseAdminController
|
|
{
|
|
public function index()
|
|
{
|
|
global $rServers;
|
|
|
|
$this->requirePermission();
|
|
|
|
$rOrderedServers = $rServers;
|
|
array_multisort(array_column($rOrderedServers, 'order'), SORT_ASC, $rOrderedServers);
|
|
|
|
$this->setTitle('Server Order');
|
|
$this->render('server_order', compact('rOrderedServers'));
|
|
}
|
|
}
|