Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1133

Přidáno uživatelem Jiří Sviták před více než 13 roky(ů)

oprava chyby presmerovani

Zobrazit rozdíly:

freenetis/branches/testing/redirection/index.php
// ip adress is found in the database
if ($message && count($message) > 0)
{
// two options are possible - no redirection has been set, so user just sees preview
// or it is our actual redirection which should be shown to user
$content = $message['text'];
// user has not send ip address through get parameter to see preview
if (!$get)
if (!$get && empty($content))
{
// typical situation: user sees message that redirection has been canceled
// and he should wait, but he is anxious and clicks on some given link
......
header($header);
die();
}
// two options are possible - no redirection has been set, so user just sees preview
// or it is our actual redirection which should be shown to user
$content = $message['text'];
}
// ip address has not been found in database
else

Také k dispozici: Unified diff