From 634e48d35f4e41bb1a778a212499340fe650b5ea Mon Sep 17 00:00:00 2001 From: Dyno Date: Mon, 10 Oct 2022 11:15:49 +0200 Subject: [PATCH 1/3] Bug: showError in CLI/BaseCommand use hardcoded error view path Fix #6656 --- system/CLI/BaseCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/CLI/BaseCommand.php b/system/CLI/BaseCommand.php index e663adb2e251..12a82a7afaa7 100644 --- a/system/CLI/BaseCommand.php +++ b/system/CLI/BaseCommand.php @@ -119,8 +119,9 @@ protected function showError(Throwable $e) { $exception = $e; $message = $e->getMessage(); + $config = config('Exceptions'); - require APPPATH . 'Views/errors/cli/error_exception.php'; + require $config->errorViewPath . '/cli/error_exception.php'; } /** From 521d83d7980013415747f9e0b796e795d78ebfc8 Mon Sep 17 00:00:00 2001 From: Dyno Date: Mon, 10 Oct 2022 12:14:24 +0200 Subject: [PATCH 2/3] GPG Signing From 3d02abcd091b99c7c34aeb90c0beb79e64a37d94 Mon Sep 17 00:00:00 2001 From: Dyno Date: Mon, 10 Oct 2022 12:14:24 +0200 Subject: [PATCH 3/3] GPG Signing