My file is a .wsdl (or .xml) file accessed by my local module code.
I might have found the best way to do this if there isn't a dedicated folder for such files.
I have found some handy directory constants leftover from LiteCommerce in /top.inc.PHP53.php so I have used one of those.
Here's what I used:
PHP Code:
$path = LC_DIR_MODULES . "[YOUR_ID]/[MODULE_ID]/[Relative Path to Extra File]"
Do you think this is a good way?
Thanks Tony and Alex!