Language and development rules: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 7: Line 7:
* Dolibarr must works on:
* Dolibarr must works on:
# All OS (Windows, Linux, MACOS...)
# All OS (Windows, Linux, MACOS...)
# PHP 4.3 or + (Must works with no need of complementary PHP module, except module to PHP module to access database).
# PHP {{PHPMinVersion}} (Must works with no need of complementary PHP module, except module to PHP module to access database).
# Mysql 3.1 or +
# Mysql {{MySqlMinVersion}}


= PHP Norms =
= PHP Norms =
* Dolibarr is written with PHP and supports all PHP version higher than 4.1. All files must end with extension .php
* Dolibarr is written with PHP and supports all PHP version higher than {{PHPMinVersion}}. All files must end with extension .php


* Usage of superglobals PHP variables must use dedicated operators $_GET, $_POST, $_COOKIES, $_SERVER, $_ENV.
* Usage of superglobals PHP variables must use dedicated operators $_GET, $_POST, $_COOKIES, $_SERVER, $_ENV.

Navigation menu