Works on contact canvas in relation to the thirdparty canvas module
This commit is contained in:
parent
9eb11e30e2
commit
955e094a75
@ -158,6 +158,12 @@ class Canvas
|
||||
// Include actions class (controller)
|
||||
$controlclassfile = DOL_DOCUMENT_ROOT.'/'.$this->aliasmodule.'/canvas/'.$this->canvas.'/actions_'.$this->card.'_'.$this->canvas.'.class.php';
|
||||
include_once($controlclassfile);
|
||||
|
||||
// Include specific library
|
||||
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$this->aliasmodule.'/lib/'.$this->aliasmodule.'.lib.php'))
|
||||
{
|
||||
include_once(DOL_DOCUMENT_ROOT.'/'.$this->aliasmodule.'/lib/'.$this->aliasmodule.'.lib.php');
|
||||
}
|
||||
|
||||
// Instantiate actions class (controller)
|
||||
$controlclassname = 'Actions'.ucfirst($this->card).ucfirst($this->canvas);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user