/web/acc/manager/auth_exceptions.php |
---|
103,7 → 103,14 |
} |
if ($insert == true) |
{ |
$line ="\nuamdomain=\"" . trim($_POST['add_uamdomain']) . "\" #" . trim($_POST['add_domain_comment']); |
if (trim($_POST['add_domain_comment'])) |
{ |
$line ="\nuamdomain=\"" . trim($_POST['add_uamdomain']) . "\" #" . trim($_POST['add_domain_comment']); |
} |
else |
{ |
$line ="\nuamdomain=\"" . trim($_POST['add_uamdomain']) . "\""; |
} |
$pointeur=fopen(DOMAIN_ALLOWED_LIST,"a"); |
fwrite ($pointeur, $line); |
fclose ($pointeur); |