This commit is contained in:
Laurent Destailleur 2010-12-15 17:40:57 +00:00
parent c9bdaebaaf
commit 39479397cc
2 changed files with 3 additions and 3 deletions

View File

@ -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/";

View File

@ -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)
{ {