diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-02-16 12:10:54 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-02-16 12:10:54 +0100 |
commit | e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2 (patch) | |
tree | c87eb75b8634980a67074b9430f3d151e3a3e5f2 /apps/files_external/lib/config.php | |
parent | 6da2c6c83e48fc3c7f8dd0814fe815d2b772f6eb (diff) | |
download | nextcloud-server-e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2.tar.gz nextcloud-server-e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2.zip |
pretty print json
Diffstat (limited to 'apps/files_external/lib/config.php')
-rwxr-xr-x | apps/files_external/lib/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 36ef48462a7..81c01eb3d0a 100755 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -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); } |