bugfix temp file creation
This commit is contained in:
@@ -304,7 +304,7 @@ class Media extends Model
|
|||||||
$this->status = 'Processing media';
|
$this->status = 'Processing media';
|
||||||
$this->save();
|
$this->save();
|
||||||
|
|
||||||
$temporaryFilePath = tempnam(sys_get_temp_dir(), 'upload');
|
$temporaryFilePath = generateTempFilePath();
|
||||||
copy($file->path(), $temporaryFilePath);
|
copy($file->path(), $temporaryFilePath);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user