0

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.

0

In 2.5:

JFactory::getConfig()->get('tmp_path')

or

JFactory::getApplication()->getCfg('tmp_path')

In newer versions:

JFactory::getApplication()->get('tmp_path')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.