mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Config fix
This commit is contained in:
parent
a9b118d5b2
commit
0e4e0b84dd
@ -47,9 +47,9 @@ $settings = [
|
||||
],
|
||||
];
|
||||
|
||||
if (empty($settings['connection_settings']['all']['proxy_extra']['address'])) {
|
||||
$settings['connection_settings']['all']['proxy'] = '\Socket';
|
||||
$settings['connection_settings']['all']['proxy_extra'] = [];
|
||||
if (empty($settings['telegram']['connection_settings']['all']['proxy_extra']['address'])) {
|
||||
$settings['telegram']['connection_settings']['all']['proxy'] = '\Socket';
|
||||
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
|
||||
}
|
||||
|
||||
return $settings;
|
Loading…
Reference in New Issue
Block a user