forked from ZwiiCMS-Team/ZwiiCMS
Merge branch '12300' into 12400
This commit is contained in:
commit
6b12d9746f
@ -145,7 +145,7 @@ class JsonDb extends \Prowebcraft\Dot
|
||||
$lenght = strlen(json_encode($this->data));
|
||||
$try = 0;
|
||||
while ($try < 5) {
|
||||
$written = file_put_contents($this->db, json_encode($this->data), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | LOCK_EX); // Multi user get a locker
|
||||
$written = file_put_contents($this->db, json_encode($this->data, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | LOCK_EX)); // Multi user get a locker
|
||||
if ($written == $lenght) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user