summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/config.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-02-16 12:10:54 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-02-16 12:10:54 +0100
commite1700c28fa879afe6bc63a91e3f426fb4bb5b7b2 (patch)
treec87eb75b8634980a67074b9430f3d151e3a3e5f2 /apps/files_external/lib/config.php
parent6da2c6c83e48fc3c7f8dd0814fe815d2b772f6eb (diff)
downloadnextcloud-server-e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2.tar.gz
nextcloud-server-e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2.zip
pretty print json
Diffstat (limited to 'apps/files_external/lib/config.php')
-rwxr-xr-xapps/files_external/lib/config.php2
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);
}