Update terminal.php
This commit is contained in:
parent
4aced13dbf
commit
8776880a12
@ -262,7 +262,7 @@ if ($conf->global->TAKEPOS_ADDON=="terminal"){
|
||||
$dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
|
||||
foreach ($dirmodels as $reldir)
|
||||
{
|
||||
$dir = dol_buildpath($reldir."core/modules/facture/");
|
||||
$dir = dol_buildpath($reldir."core/modules/facture/");
|
||||
if (is_dir($dir))
|
||||
{
|
||||
$handle = opendir($dir);
|
||||
@ -290,7 +290,7 @@ if ($conf->global->TAKEPOS_ADDON=="terminal"){
|
||||
// Charging the numbering class
|
||||
require_once $dir.$filebis;
|
||||
|
||||
$module = new $classname($db);
|
||||
$module = new $classname($db);
|
||||
|
||||
// Show modules according to features level
|
||||
if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user