Changeset 49342
- Timestamp:
- 10/27/2020 07:06:15 PM (4 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/tools/local-env/scripts/install.js
r45783 r49342 11 11 // Add the debug settings to wp-config.php. 12 12 // Windows requires this to be done as an additional step, rather than using the --extra-php option in the previous step. 13 wp_cli( `config set WP_DEBUG ${process.env.LOCAL_WP_DEBUG} --raw ` );14 wp_cli( `config set WP_DEBUG_LOG ${process.env.LOCAL_WP_DEBUG_LOG} --raw ` );15 wp_cli( `config set WP_DEBUG_DISPLAY ${process.env.LOCAL_WP_DEBUG_DISPLAY} --raw ` );16 wp_cli( `config set SCRIPT_DEBUG ${process.env.LOCAL_SCRIPT_DEBUG} --raw ` );13 wp_cli( `config set WP_DEBUG ${process.env.LOCAL_WP_DEBUG} --raw --type=constant` ); 14 wp_cli( `config set WP_DEBUG_LOG ${process.env.LOCAL_WP_DEBUG_LOG} --raw --type=constant` ); 15 wp_cli( `config set WP_DEBUG_DISPLAY ${process.env.LOCAL_WP_DEBUG_DISPLAY} --raw --type=constant` ); 16 wp_cli( `config set SCRIPT_DEBUG ${process.env.LOCAL_SCRIPT_DEBUG} --raw --type=constant` ); 17 17 18 18 // Move wp-config.php to the base directory, so it doesn't get mixed up in the src or build directories.
Note: See TracChangeset
for help on using the changeset viewer.