439
edits
(→Specific descriptor module for version 3.3: Corrected the mistake about intra-module includes) |
|||
| Line 64: | Line 64: | ||
} | } | ||
</source> | </source> | ||
Note: NEVER use a relative path like this: require '../class/myclass.php'; - your include won't work depending on where resides the executed script! | |||
* The inclusion of a class dedicated to the module, without knowing from where the file will be called, is done using a function Dolibarr; | * The inclusion of a class dedicated to the module, without knowing from where the file will be called, is done using a function Dolibarr; | ||
edits