I want to get the “custom” folder.
After some research, I found two solutions:
- Make the $dolibarr_main_document_root_alt variable global.
- Use the $conf->file->dol_document_root[‘alt0’] variable.
Is it possible that there isn’t a more “explicit” variable (as in the case of DOL_DOCUMENT_ROOT)?




