vendor/cakephp/cakephp/src/Core/StaticConfigTrait.php 1 location
|
@@ 104-108 (lines=5) @@
|
| 101 |
|
$config = ['className' => $config]; |
| 102 |
|
} |
| 103 |
|
|
| 104 |
|
if (isset($config['url'])) { |
| 105 |
|
$parsed = static::parseDsn($config['url']); |
| 106 |
|
unset($config['url']); |
| 107 |
|
$config = $parsed + $config; |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
if (isset($config['engine']) && empty($config['className'])) { |
| 111 |
|
$config['className'] = $config['engine']; |
vendor/cakephp/cakephp/src/Mailer/Email.php 1 location
|
@@ 1226-1230 (lines=5) @@
|
| 1223 |
|
$config = ['className' => $config]; |
| 1224 |
|
} |
| 1225 |
|
|
| 1226 |
|
if (isset($config['url'])) { |
| 1227 |
|
$parsed = static::parseDsn($config['url']); |
| 1228 |
|
unset($config['url']); |
| 1229 |
|
$config = $parsed + $config; |
| 1230 |
|
} |
| 1231 |
|
|
| 1232 |
|
static::$_transportConfig[$key] = $config; |
| 1233 |
|
} |