drupal修补Patching

1。 cd到当前Drupal安装目录
2。试运行通过运行shell命令补丁小 - 干式运行“drupal,目前的补丁到drupal - latest.patch。您将看到一个像很多补丁文件中的行包括/ bootstrap.inc告诉你哪些文件将被修补。

WARNING: Don't proceed if you see error messages like Reversed (or previously applied) patch detected or 1 out of 2 hunks FAILED. Your Drupal installation probably is modified somehow and the patch file will not apply completely. You now better switch to the standard upgrade procedure described in UPGRADE.txt.

3。最后通过运行:patch -p1 < drupal-current-to-drupal-latest.patch

进行UPGRADING.txt从“8。验证新的配置文件,以确保它有最新的和正确的信息。”


同步内容