Comments
This commit is contained in:
parent
c9bdaebaaf
commit
39479397cc
@ -81,7 +81,7 @@ $orders = array();
|
|||||||
$categ = array();
|
$categ = array();
|
||||||
$dirmod = array();
|
$dirmod = array();
|
||||||
$i = 0; // is a sequencer of modules found
|
$i = 0; // is a sequencer of modules found
|
||||||
$j = 0; // j is module number. Automatically affeted if module number not defined.
|
$j = 0; // j is module number. Automatically affected if module number not defined.
|
||||||
foreach ($conf->file->dol_document_root as $dirroot)
|
foreach ($conf->file->dol_document_root as $dirroot)
|
||||||
{
|
{
|
||||||
if (preg_match('/custom$/i',$dirroot)) $dir = $dirroot . "/modules/";
|
if (preg_match('/custom$/i',$dirroot)) $dir = $dirroot . "/modules/";
|
||||||
|
|||||||
@ -74,12 +74,12 @@ $orders = array();
|
|||||||
$categ = array();
|
$categ = array();
|
||||||
$dirmod = array();
|
$dirmod = array();
|
||||||
$i = 0; // is a sequencer of modules found
|
$i = 0; // is a sequencer of modules found
|
||||||
$j = 0; // j is module number. Automatically affeted if module number not defined.
|
$j = 0; // j is module number. Automatically affected if module number not defined.
|
||||||
foreach ($dirlist as $dirroot)
|
foreach ($dirlist as $dirroot)
|
||||||
{
|
{
|
||||||
$dir = $dirroot . "/includes/modules/";
|
$dir = $dirroot . "/includes/modules/";
|
||||||
|
|
||||||
// Charge tableaux modules, nom, numero, orders depuis r<EFBFBD>pertoire dir
|
// Charge tableaux modules, nom, numero, orders depuis repertoire dir
|
||||||
$handle=opendir($dir);
|
$handle=opendir($dir);
|
||||||
while (($file = readdir($handle))!==false)
|
while (($file = readdir($handle))!==false)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user