Код:
function modules() {
if (isset($_GET['x'])) {
$x = $_GET['x'];
if ($x == a) { include ('home.php'); }
elseif ($x == b) { include ('register.php'); }
elseif ($x == c) { include ('forgotten_password.php'); }
elseif ($x == d) { include ('downloads.php'); }
else { echo "NoPage"; }
}
}
Това защитена функция ли е ?