由 bertlin » 2009-07-06 14:13
上传到你们的空间后,还要做工作,大家应该在上传之前先看一下 readme.html.
2. Amending html_output.php by hand
To amend the <YOUR ADMIN DIRECTORY>/includes/functions/html_output.php by hand is fairly straightforward.
However before attempting to edit this file, please make sure you have a secure backup of the original version.
Open the file in an editor and find the function "zen_draw_form"
The last line of this function is
return $form;
Just before that line add another line as below
$form .= '<input type="hidden" name="securityToken" value="' . $_SESSION['securityToken'] . '" />';
You can then save the file.
意思是说,要手动修改文件:html_output.php
先找到zen_draw_form,再找到return $form;上这个之前加上一句:
$form .= '<input type="hidden" name="securityToken" value="' . $_SESSION['securityToken'] . '" />';