Bug: showError in CLI/BaseCommand use hardcoded error view path

Fix #6656
This commit is contained in:
Dyno 2022-10-10 11:15:49 +02:00
parent eff1efe14b
commit 634e48d35f
No known key found for this signature in database
GPG Key ID: 2C9348AA0D6EF676

View File

@ -119,8 +119,9 @@ abstract class BaseCommand
{
$exception = $e;
$message = $e->getMessage();
$config = config('Exceptions');
require APPPATH . 'Views/errors/cli/error_exception.php';
require $config->errorViewPath . '/cli/error_exception.php';
}
/**