mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
log_and_die() is not defined
This commit is contained in:
@@ -31,7 +31,7 @@ function check_domains($domains)
|
||||
foreach($domains as $domain)
|
||||
{
|
||||
if(!is_valid_domain_name($domain)){
|
||||
log_and_die(htmlspecialchars($domain).' is not a valid domain');
|
||||
die(htmlspecialchars($domain).' is not a valid domain');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user