1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Variable typo

This commit is contained in:
Hannes Magnusson
2013-11-22 00:50:14 -08:00
parent c7cdf75158
commit e36e36e0a4

View File

@@ -11,7 +11,7 @@ $abs = $pwd. "/" .(string)$_GET["f"];
$abs = realpath($abs);
if (strncmp($abs, $pwd, strlen($pwd)) != 0) {
header("Location: http://php.net/$abs");
header("Location: http://php.net/" . $_GET["f"]);
exit;
}