mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 12:00:39 -05:00
pretty print json
This commit is contained in:
parent
6da2c6c83e
commit
e1700c28fa
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ class OC_Mount_Config {
|
|||
} else {
|
||||
$file = OC::$SERVERROOT.'/config/mount.json';
|
||||
}
|
||||
$content = json_encode($data);
|
||||
$content = json_encode($data, JSON_PRETTY_PRINTy print json);
|
||||
@file_put_contents($file, $content);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue