mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
parent
dad9eaab90
commit
c3e08fde30
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ class CakeEmail {
|
|||
|
||||
if ($config) {
|
||||
$this->config($config);
|
||||
} elseif (class_exists($this->_configClass) && config('email')) {
|
||||
} elseif (config('email') && class_exists($this->_configClass)) {
|
||||
$this->_configInstance = new $this->_configClass();
|
||||
if (isset($this->_configInstance->default)) {
|
||||
$this->config('default');
|
||||
|
|
Loading…
Reference in a new issue