Skip to content

Commit

Permalink
Include sentry configuration, with __DIR__ constant.
Browse files Browse the repository at this point in the history
This enables running wpcli in sub directories.
  • Loading branch information
Sebastian Thulin committed Nov 27, 2023
1 parent 8566d3e commit afbd878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
* Sentry configuration for error reporting.
*/
if (file_exists(__DIR__ . '/config/sentry.php')) {
require_once 'config/sentry.php';
require_once __DIR__ . 'config/sentry.php';
}

/**
Expand Down

0 comments on commit afbd878

Please sign in to comment.