From 76fcad92b365d13cd92e239b7cea21f7d6480fea Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Mon, 4 Mar 2013 17:29:15 +0100 Subject: [PATCH] Pretty print options for Config JSON --- src/utils/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Config.php b/src/utils/Config.php index 154eff4fe..0b026fdb9 100644 --- a/src/utils/Config.php +++ b/src/utils/Config.php @@ -126,7 +126,7 @@ class Config{ $content = $this->writeProperties(); break; case CONFIG_JSON: - $content = json_encode($this->config); + $content = json_encode($this->config, JSON_PRETTY_PRINT | JSON_BIGINT_AS_STRING); break; case CONFIG_YAML: $content = Spyc::YAMLDump($this->config);