mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-09-25 12:01:55 +02:00
Updating FFmpeg variables and improving request handling in the API
This commit is contained in:
@@ -282,6 +282,10 @@ class ProcessManager {
|
||||
}
|
||||
|
||||
// Write our PID
|
||||
$lockDir = dirname($lockFile);
|
||||
if (!is_dir($lockDir)) {
|
||||
@mkdir($lockDir, 0775, true);
|
||||
}
|
||||
file_put_contents($lockFile, getmypid());
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user