log_and_die() is not defined

This commit is contained in:
DL6ER
2017-01-27 21:59:22 +01:00
parent fd0764d92c
commit fc7cf611b4

View File

@@ -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');
}
}
}