mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 12:24:50 +02:00
pretty print json
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user