more verbose errors
This commit is contained in:
parent
8f58b38a17
commit
40ab0e4624
@ -20,6 +20,11 @@ if (!empty($idcko)){
|
||||
if(array_key_exists($idcko, $stranky)){
|
||||
|
||||
$entry = $stranky[$idcko];
|
||||
|
||||
if (!array_key_exists($entry["contentid"], $contents)){
|
||||
die("Faulty link");
|
||||
}
|
||||
|
||||
$content = $contents[$entry["contentid"]];
|
||||
$nickname = $entry["nickname"];
|
||||
$logmessage = "Success from $nickname($idcko), IP: $ipcka\n";
|
||||
@ -36,11 +41,11 @@ if (!empty($idcko)){
|
||||
}
|
||||
|
||||
else{
|
||||
die("Bad link");
|
||||
die("Nonexistent link");
|
||||
}
|
||||
}
|
||||
else{
|
||||
die("Bad link");
|
||||
die("No link");
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user