mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-13 08:59:34 +03:00
feat: new output formats Dnsmasq nfset and ipset, ClashX, Keenetic KVAS
This commit is contained in:
@@ -60,6 +60,10 @@ class IPListService {
|
||||
* @return void
|
||||
*/
|
||||
private function loadConfig(string $name, object $config): void {
|
||||
if (isset($this->sites[$name])) {
|
||||
$this->logger->error(sprintf('Site "%s" already exists', $name));
|
||||
return;
|
||||
}
|
||||
$this->sites[$name] = SiteFactory::create($name, $config);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user