problems with additionnal template type
If i active my new xml templater, and keep odt, the odt folder is added on folder to scan on my xml path ex : odt folder defined : c:\toto xml folder defined : c:\tata folder scanned with odt : c:\toto folder scanned with odt : c:\toto,c:\tata
This commit is contained in:
parent
169e63d49a
commit
8e68aa86ac
@ -1530,8 +1530,10 @@ function getListOfModels($db,$type,$maxfilenamelength=0)
|
|||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||||
|
|
||||||
$const=$obj->description;
|
$const=$obj->description;
|
||||||
$dirtoscan.=($dirtoscan?',':'').preg_replace('/[\r\n]+/',',',trim($conf->global->$const));
|
//irtoscan.=($dirtoscan?',':'').preg_replace('/[\r\n]+/',',',trim($conf->global->$const));
|
||||||
$listoffiles=array();
|
$dirtoscan= preg_replace('/[\r\n]+/',',',trim($conf->global->$const));
|
||||||
|
|
||||||
|
$listoffiles=array();
|
||||||
|
|
||||||
// Now we add models found in directories scanned
|
// Now we add models found in directories scanned
|
||||||
$listofdir=explode(',',$dirtoscan);
|
$listofdir=explode(',',$dirtoscan);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user