Просмотр поста

.
ramzes

if (!$user_id && $_SERVER['PHP_SELF'] != '/registration.php' && $_SERVER['PHP_SELF'] != '/login.php') {
header('Location: /login.php');
exit;
}