pretty print json
This commit is contained in:
parent
6da2c6c83e
commit
e1700c28fa
|
@ -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 New Issue