|
@@ 207-210 (lines=4) @@
|
| 204 |
|
|
| 205 |
|
// 管理画面許可IP |
| 206 |
|
$config = require $this->configDir.'/config.php'; |
| 207 |
|
if (!empty($config['admin_allow_hosts'])) { |
| 208 |
|
$sessionData['admin_allow_hosts'] |
| 209 |
|
= Str::convertLineFeed(implode("\n", $config['admin_allow_hosts'])); |
| 210 |
|
} |
| 211 |
|
// 強制SSL |
| 212 |
|
$sessionData['admin_force_ssl'] = $config['force_ssl']; |
| 213 |
|
|
|
@@ 218-221 (lines=4) @@
|
| 215 |
|
if (!empty($config['trusted_proxies_connection_only'])) { |
| 216 |
|
$sessionData['trusted_proxies_connection_only'] = (bool)$config['trusted_proxies_connection_only']; |
| 217 |
|
} |
| 218 |
|
if (!empty($config['trusted_proxies'])) { |
| 219 |
|
$sessionData['trusted_proxies'] = Str::convertLineFeed(implode("\n", |
| 220 |
|
$sessionData['trusted_proxies'])); |
| 221 |
|
} |
| 222 |
|
// メール |
| 223 |
|
$file = $this->configDir.'/mail.php'; |
| 224 |
|
$config = require $file; |