| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 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/administrator/components/com_linkr/views/request/ |
Upload File : |
<?php
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/*
* JSON request view
*/
class LinkrViewRequest extends JView
{
function display($tpl = null)
{
// No error reporting
if (!LinkrHelper::debug()) {
error_reporting(0);
ini_set('display_errors', 0);
}
// Frontpage hack
$this->addTemplatePath(JPATH_COMPONENT_ADMINISTRATOR.DS.'views'.DS.'request'.DS.'tmpl');
// JSON wrapper
if (!function_exists('json_encode')) {
$this->addHelperPath(JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers');
$this->loadHelper('json');
}
// Send results
echo $this->get('Request');
// Shutdown application
global $mainframe;
$mainframe->close();
}
}