Language and development rules: Difference between revisions

Jump to navigation Jump to search
Line 4: Line 4:


= Versions =
= Versions =
* Dolibarr must works on:
* Dolibarr must works on:
# All OS (Windows, Linux, MACOS...)
# All OS (Windows, Linux, MACOS...)
# PHP {{PHPMinVersion}} (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 {{MySqlMinVersion}}
# Mysql {{MySqlMinVersion}}
= Copyright Norms =
* All PHP files must start with a header that looks like
<source lang="php">
<?php
/* Copyright (C) YYYY John Doe  <email@email.com>
*
* Licence information
*/
...
</source>
When you edit an existing file of project, you must add a Copyright line under others.


= PHP Norms =
= PHP Norms =

Navigation menu