Dependencies and external libraries: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 1: Line 1:
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}


= Libraries embedded inside source code (true for version 2.6) =
= Libraries embedded inside source code =


All libraries embedded into Dolibarr distribution are located inside directory '''htdocs/includes''':
All libraries embedded into Dolibarr distribution are located inside directory '''htdocs/includes''':
* Libraries AdoDb-Date
* Libraries AdoDb-Date
* Libraries Artichow for charts
* Libraries PHP-barcode
* Libraries PHP-barcode
* Libraries Fckeditor (http://www.fckeditor.net)
* Libraries Fckeditor (http://www.fckeditor.net)
Line 15: Line 16:
* Libraries PWC
* Libraries PWC
* Libraries Scriptaculous
* Libraries Scriptaculous
* Libraries Smarty (not used)
* Libraries VCard
* Libraries VCard
Or inside directory '''external-libs''':
* Libraries Artichow for charts
* Libraries Smarty (not used)




All those external embedded libraries must respect the following rules:
All those external embedded libraries must respect the following rules:
* They must be compatible with Dolibarr licence. The file '''COPYRIGHT''' inside Dolibarr root directory list all embedded libraries and their licence.
* 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.
* 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.


Navigation menu