AAAAgetValue('config.tmp_path'), '/'); $folders = array(); $root = JPath::clean(JPATH_ROOT, '/'); $folders[$tmp_path] = JFolder::exists($tmp_path); $folders[CSVIPATH_TMP] = JFolder::exists(CSVIPATH_TMP); $folders[CSVIPATH_DEBUG] = JFolder::exists(CSVIPATH_DEBUG); return $folders; } /** * Create missing folders * * @copyright * @author RolandD * @todo * @see * @access public * @param * @return * @since 3.0 */ public function createFolder() { $app = JFactory::getApplication(); jimport('joomla.filesystem.folder'); $folder = str_ireplace(JPATH_ROOT, '', JRequest::getVar('folder')); return JFolder::create($folder); } } ?>