Update Saqel Platform: 2026-09-02 08:47:33

This commit is contained in:
Hamza-Ayed
2026-09-02 08:47:33 +03:00
parent ff9fdbb24e
commit a9b1819e9a
2 changed files with 4 additions and 2 deletions
@@ -287,7 +287,8 @@ class CurriculumController
if (function_exists('fastcgi_finish_request')) fastcgi_finish_request();
elseif (ob_get_level()) { ob_end_flush(); flush(); }
$scriptPath = realpath(__DIR__ . '/../../scripts/video_upload_worker.php');
exec('php ' . escapeshellarg($scriptPath) . ' ' . escapeshellarg($taskId) . ' > /dev/null 2>&1 &');
$logPath = $processingDir . '/' . $taskId . '.log';
exec('php ' . escapeshellarg($scriptPath) . ' ' . escapeshellarg($taskId) . ' >> ' . escapeshellarg($logPath) . ' 2>&1 &');
return;
} catch (\Throwable $e) {