Update Saqel Platform: 2026-09-02 08:47:33
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user