function cleanCache() { require_once JPATH_COMPONENT . DS . 'controllers' . DS . 'urls.php'; $controller = new SEFControllerURLs(); $controller->execute('cleancache'); $this->setRedirect('index.php?option=com_sef', JText::_('Cache Cleaned')); }
function cleanCache() { require_once JPATH_COMPONENT . '/controllers/urls.php'; $controller = new SEFControllerURLs(); $controller->execute('cleancache'); $this->setRedirect('index.php?option=com_sef', JText::_('COM_SEF_CACHE_CLEANED')); }