Skip to content

Commit

Permalink
Add WP_DEBUG_LOG
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Mar 16, 2020
1 parent ff5e28a commit 8e29f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DB_PASSWORD='database_password'
WP_ENV='development'
WP_HOME='http://example.com'
WP_SITEURL="${WP_HOME}/wp"
WP_DEBUG_LOG=/path/to/debug.log

# Generate your keys here: https://roots.io/salts.html
AUTH_KEY='generateme'
Expand Down
1 change: 1 addition & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
* Debugging Settings
*/
Config::define('WP_DEBUG_DISPLAY', false);
Config::define('WP_DEBUG_LOG', env('WP_DEBUG_LOG'));
Config::define('SCRIPT_DEBUG', false);
ini_set('display_errors', '0');

Expand Down

0 comments on commit 8e29f47

Please sign in to comment.