Changeset 49335
- Timestamp:
- 10/27/2020 06:31:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/local-env/scripts/install.js
r49121 r49335 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 ` );17 wp_cli( `config set WP_ENVIRONMENT_TYPE ${process.env.LOCAL_WP_ENVIRONMENT_TYPE} ` );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 wp_cli( `config set WP_ENVIRONMENT_TYPE ${process.env.LOCAL_WP_ENVIRONMENT_TYPE} --type=constant` ); 18 18 19 19 // 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.