开发者

Where to store users' content? (SVN and PHP)

For example, we have the web-site written using popular PHP-framework and we continue developing it, adding new features etc. Users fill up content by themselves (this creates new records in a database and new files (avatars, images, media) 开发者_如何学JAVAuploaded to the production).

So, let's imagine that we've renewed our site (added features, corrected some bugs) and decided to run svn update in the production. What will we have then? Will the files uploaded by users been removed? (because they, of course, don't exist in the repository)


As long as they haven't got the same names as files that are in the repository, SVN will ignore them and not touch them.


No, a svn update will only affect versioned files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜