I create my module , i set the permission, but if i want to display the possibilities to change the rights for the user (in the permissions tab)
I must be add in the perms.php the ligne :
$modulesdir[] = $dirroot . "/core/modules/";
$modulesdir[] = $dirroot . "/monmodule/core/modules/"; //line added
I dont'like this solution.
they are a other solution without change the perms.php ????
other way i have explore :
add a value to $conf->file->dol_document_root when i enable my module, but i don't know the correct dol_command() to do that.
i show that have in the conf.php a commented line
//$dolibarr_main_url_root_alt='...';
but if y change this, what append a next application update
many thanks for all you help.
↧