Changes

Line 395: Line 395:     
== Comparing version ==
 
== Comparing version ==
If your code need to make different things depending on Dolibarr version, you can use the following tip to detect version
+
If your code need to make different things depending on Dolibarr version, you can use the following tip to detect and compare versions
 
<source lang="php">
 
<source lang="php">
 
$version=preg_split('/[\.-]/',DOL_VERSION);
 
$version=preg_split('/[\.-]/',DOL_VERSION);