mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Bug: showError in CLI/BaseCommand use hardcoded error view path
Fix #6656
This commit is contained in:
parent
eff1efe14b
commit
634e48d35f
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user