Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

Check license obligations for custom code

Step by step, check that custom code delivered for a public body's Exponential site respects the GPL and gives you the rights you need - source received, licenses of extensions and libraries, third-party assets, and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/procurement-and-training/check-license-obligations-for-custom-code.md

On this page

Check license obligations for custom code

Who: the project manager with a developer, and legal counsel for doubtful cases. When: at delivery and before acceptance. The rules come from Licensing questions: the GPL and Exponential.

Note This page describes features and common practice; it is not legal advice. Check your own case with your legal counsel.

Contents

  1. Before you start
  2. Steps
  3. Result
  4. Pitfalls

Before you start

Steps

  1. Check you received the source of everything: PHP and templates as written, JavaScript and CSS with their unminified originals, images in their editable form (Licensing questions).
  2. Check the license of each extension: its ezinfo.php, extension.xml or composer.json states it; the about page lists extensions with their license (About and package pages). Code that extends Exponential and is distributed to you is under the GPL version 2 or later.
  3. Check libraries loaded into the same PHP process: they must be GPL-compatible; libraries reached only over the network are separate (Licensing questions).
  4. Check assets: fonts, icons and images need a license that allows your use.
  5. Check that nothing restricts you: no clause or license that forbids changing the code, giving it to another supplier or to another public body.
  6. Decide on sharing: generally useful extensions can be contributed to the project or shared with other bodies under the GPL (Contribute extensions back).
  7. Record the result in the acceptance file.

Result

A list of delivered components with their licenses, and confirmation that you hold the source and the rights to maintain, change and pass on the code.

Pitfalls

  • Receiving only minified or obfuscated code.
  • A "proprietary" extension combined in the same process with GPL code; ask counsel.
  • Assuming that running a website obliges you to publish your code: it does not (Licensing questions).

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x