From e1700c28fa879afe6bc63a91e3f426fb4bb5b7b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
Date: Sat, 16 Feb 2013 12:10:54 +0100
Subject: [PATCH] pretty print json

---
 apps/files_external/lib/config.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 36ef48462a..81c01eb3d0 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);
 	}
 
-- 
GitLab