Welcome Guest, Not a member yet? Register   Sign In
Copyright code: what to write and where to place it?
#1

[eluser]The Questioner[/eluser]
Like many of you, I develop and sell customised solutions for CMS and eCommerce web sites, based on CI.

I want to include some type of copyright text disclaimer within the source files that will not allow any of my customers to re-use my work for another site or provide any other developer/business the source code to create another site based upon my work. Basically my code is specific to the customer and can only be used for their specific site.

Do any of you fellow Code Ignitees have such a copyright notice? Where is the best place to put this text? Shall I place it as a separate text file within each of my controller, models, views, libraries, helper folders? Or should I add it as a header in the index.php?
#2

[eluser]InsiteFX[/eluser]
You can add your copyright notice to the top of all your code files.

For a main license you can create a text file and place it into a
license folder.

Another way would be to use the CodeIgniter help file.
Creating Documentation

InsiteFX
#3

[eluser]The Questioner[/eluser]
Thanks InsiteFx, I've followed your advice and created a main license, and then placed it in the root by calling it license.php (it won't execute any PHP as it only contains comments).




Theme © iAndrew 2016 - Forum software by © MyBB