How can I access in a custom component the full path to
tmp directory configured in the Joomla configuration? I have changed the
tmp directory to be outside of the Joomla! installation.
In newer versions: