From afbd878508f8ddba49525265f9cb0e279113a4c5 Mon Sep 17 00:00:00 2001 From: Sebastian Thulin Date: Mon, 27 Nov 2023 11:33:12 +0100 Subject: [PATCH] Include sentry configuration, with __DIR__ constant. This enables running wpcli in sub directories. --- wp-config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-config.php b/wp-config.php index 16857a4..7781cca 100644 --- a/wp-config.php +++ b/wp-config.php @@ -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'; } /**