Browse Source

PhpManager::saveToFile() LOCK_EX added

tags/2.0.0-beta
Alexander Kochetov 12 years ago
parent
commit
56757cdd94
  1. 2
      framework/rbac/PhpManager.php

2
framework/rbac/PhpManager.php

@ -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);
}
}

Loading…
Cancel
Save