Fix tmp path in Joomla 1.5
Shorten mthod to get tmp path