feat: Enforce 1 user 1 connection for X-ray and fix active stats speed

This commit is contained in:
infosave2007
2026-01-30 15:04:23 +03:00
parent 2f38cd58a3
commit 47b97d9a76
6 changed files with 94 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
require_once __DIR__ . '/inc/Config.php';
Config::load(__DIR__ . '/.env');
require_once __DIR__ . '/inc/DB.php';
try {
$pdo = DB::conn();
$sql = file_get_contents(__DIR__ . '/migrations/053_split_speed.sql');
$pdo->exec($sql);
echo "Migration 053 applied successfully.\n";
} catch (Exception $e) {
echo "Migration failed: " . $e->getMessage() . "\n";
}