dns - Pushing PHP code to multiple domains with slight changes -


I have a simple web app that people use to track golf scores, Hosted with 4 separate databases on different domains. The changes made in one are to be made in all, because it is a collective purification process.

The code is almost identical in addition to minor changes such as DB connections, title of pages, and a header logo. This information is included in a file that is unique to each domain, all pages drag that information.

What is the best practice for maintaining a single source code and uploading the same version across all domains ??

In addition to a platform-specific solution, as provided by the micronle, A general approach may be based on Git branches, you can create a branch for common features and branches for each publishing edition. Every time you finish a change on a general facility, you combine it with other branches.

An explanation and discussion on this topic can be found here.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -