| Server IP : 195.130.67.5 / Your IP : 216.73.216.231 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/components/com_linkr/ |
Upload File : |
<?php defined('_JEXEC') or die;
/**
* Linkr controller
*
* @package Linkr
* @author Frank
*/
jimport('joomla.application.component.controller');
/**
* Linkr Controller
*
* @package Linkr
*/
class LinkrController extends JController
{
function LinkrController()
{
parent::__construct();
// Include paths
$this->addViewPath(JPATH_COMPONENT_ADMINISTRATOR.DS.'views');
$this->addModelPath(JPATH_COMPONENT_ADMINISTRATOR.DS.'models');
}
function display()
{
// Prevent access through "index.php?option=com_linkr"
if (!JRequest::checkToken('request')) {
JError::raiseError(403, JText::_('ACCESS FORBIDDEN'));
}
// Set view
JRequest::setVar('tmpl', 'component');
if (JRequest::getWord('view') != 'request') {
JRequest::setVar('view', 'link');
}
parent::display(false);
}
}