ich wollte mein Forum von 2.0.11 auf 0.13 patchen und habe dabei mehrere Hunks in der Datei common.php bekommen. Leider verstehe ich nicht was der Inhalt bedeutet. Könnte mir bitte jemand helfen?
Ich habe ein paar Hacks installiert, somit kommt also nur der Patch in Frage.
Inhalt der common.php.rej:
Code: Alles auswählen
***************
*** 86,96 ****
$input = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_SESSION_VARS, $HTTP_ENV_VARS, $HTTP_POST_FILES);
unset($input['input']);
while (list($var,) = @each($input))
{
unset($$var);
}
unset($input);
}
--- 87,101 ----
$input = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_SESSION_VARS, $HTTP_ENV_VARS, $HTTP_POST_FILES);
unset($input['input']);
+ unset($input['not_unset']);
while (list($var,) = @each($input))
{
+ if (!in_array($var, $not_unset))
+ {
unset($$var);
}
+ }
unset($input);
}