Dependencies and external libraries: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
* Libraries Scriptaculous (+prototype)
* Libraries Scriptaculous (+prototype)
* Libraries SimpleMail
* Libraries SimpleMail
* Libraries Smarty (not used)
* Libraries Smarty (used by some modules. Avoid for core code: http://lutt.se/blog/2006/08/13/why-template-engines-like-smarty-sucks-in-php.html)
* Libraries Smtps
* Libraries Smtps
* Libraries VCard
* Libraries VCard

Revision as of 19:57, 29 December 2009

Libraries embedded inside source code

All libraries embedded into Dolibarr distribution are located inside directory htdocs/includes:


All those external embedded libraries must respect the following rules:

  • They must be compatible with Dolibarr license. The file COPYRIGHT inside Dolibarr root directory list all embedded libraries and their license.
  • If a change is made inside original external library code, this change must be notified inside file htdocs/includes/dolibarr_changes.txt. In most cases, you should not have to edit external libraries and should use them as they are provided. This is to make upgrade of libraries possible with no need to report code changes after an upgrade.

Apache Libraries

No particular libraries required.

PHP Libraries

No particular libraries required.