By pillarsdotnet on
@#1129642-133 posted by samuitv:
Small question: While updating Drupal core in the future, is it normally safe to just move those patched files to the next version and then do an update, or do you absolutely need to patch for example Drupal 7.10 before uploading to the server?
The place you posted is not a support forum, so I'm replying in the forums rather than cluttering up a core issue with unrelated information.
First of all, see the Drupal patch documentation page.
-
- If you're asking:
- Should I apply the patch locally and then upload the patched files, or is it okay to apply patches on the server?
- The answer is:
- It shouldn't matter. The important thing is to make sure nobody modifies the database while the site is in a half-patched state. That's the purpose of putting the site into "Maintenance mode" before doing an update.
-
- If you're asking:
- Can I only upload the files that changed, or should I upload all the Drupal core files every time I make an update?
- The answer is:
- Again, that's up to you. As long as you're absolutely sure you can identify which files have been changed, then it's only necessary to upload those files. If you're not sure, then re-uploading the whole thing is probably safer.
-
- If you're asking something else:
- Then I'm afraid I can't help you. Can you ask your question in a different way, possibly with examples?