pretty print json

remotes/origin/stable5
Jörn Friedrich Dreyer 14 years ago
parent 6da2c6c83e
commit e1700c28fa
  1. 2
      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);
}

Loading…
Cancel
Save