N°2135 - Setup callbacks for MTP

This commit is contained in:
Eric
2019-11-13 15:45:33 +01:00
parent 4816b2b0fe
commit fdf5cff12a

View File

@@ -6324,6 +6324,11 @@ abstract class MetaModel
// classes have to be derived from cmdbabstract (to be editable in the UI)
require_once(APPROOT.'/application/cmdbabstract.class.inc.php');
if (!defined('MODULESROOT'))
{
define('MODULESROOT', APPROOT.'env-'.self::$m_sEnvironment.'/');
}
require_once(APPROOT.'core/autoload.php');
require_once(APPROOT.'env-'.self::$m_sEnvironment.'/autoload.php');