Commit 56757cdd by Alexander Kochetov

PhpManager::saveToFile() LOCK_EX added

parent 13239106
......@@ -508,6 +508,6 @@ class PhpManager extends Manager
*/
protected function saveToFile($data, $file)
{
file_put_contents($file, "<?php\nreturn " . var_export($data, true) . ";\n");
file_put_contents($file, "<?php\nreturn " . var_export($data, true) . ";\n", LOCK_EX);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment