2
0
forked from Wavyzz/dolibarr

[task #216] Move lib in core directory

This commit is contained in:
Regis Houssin
2011-10-24 12:59:44 +02:00
parent 1c86e6b526
commit 56d6cbe56f
281 changed files with 390 additions and 392 deletions

View File

@@ -1059,7 +1059,7 @@ function getListOfModels($db,$type,$maxfilenamelength=0)
// with the constant that contains list of directories to scan (COMPANY_ADDON_PDF_ODT_PATH, ...).
if (! empty($obj->description)) // List of directories to scan is defined
{
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
$const=$obj->description;
$dirtoscan.=($dirtoscan?',':'').preg_replace('/[\r\n]+/',',',trim($conf->global->$const));