DDC-716 - Added LOCK_EX constant to file_put_contents to avoid file corruption on concurrent access when auto-generating proxy classes is set to TRUE
This commit is contained in:
parent
0be6b3fd85
commit
7a5ab94780
@ -144,7 +144,7 @@ class ProxyFactory
|
||||
|
||||
$file = str_replace($placeholders, $replacements, $file);
|
||||
|
||||
file_put_contents($fileName, $file);
|
||||
file_put_contents($fileName, $file, LOCK_EX);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user