diff --git a/core/class/jsondb/JsonDb.class.php b/core/class/jsondb/JsonDb.class.php index 7d5332a5..5a7c7c2e 100644 --- a/core/class/jsondb/JsonDb.class.php +++ b/core/class/jsondb/JsonDb.class.php @@ -142,7 +142,8 @@ class JsonDb extends \Prowebcraft\Dot */ public function save() { - $v = json_encode($this->data, JSON_UNESCAPED_UNICODE | LOCK_EX); + //$v = json_encode($this->data, JSON_UNESCAPED_UNICODE | LOCK_EX); + $v = json_encode($this->data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | LOCK_EX); $l = strlen($v); $t = 0; while ($t < 5) {