Skip to content

Commit

Permalink
Disable JSON pretty print by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksubileau committed Dec 18, 2013
1 parent 8db6b76 commit dcd269c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Support/default-constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ function set_initial_constants( ) {
set_constant( 'ZC_DEBUG_LOG', false);

/************************************
* Path constants
* Storage constants
************************************/
set_constant( 'ZC_STORAGE_DIR', ABSPATH . '/Storage/');
set_constant( 'ZC_STORAGE_DIR_PERM', 0777);
set_constant( 'ZC_STORAGE_JSON_PRETTY_PRINT', true);
set_constant( 'ZC_STORAGE_JSON_PRETTY_PRINT', false);
// PHP < 5.4 does not support JSON pretty print. Define neutral constant to ignore the previous one.
set_constant( 'JSON_PRETTY_PRINT', 0);

Expand Down

0 comments on commit dcd269c

Please sign in to comment.